0

In ASP.NET MVC, we can decorate our properties with validation attributes. Then, this validation is applied at the presentation layer (views, client side) and controller and data access alike.

My question is -can we accomplish this somehow in WinForms?

1 Answer 1

1

In the windows forms world, you would use Data Binding, specifically the IDataErrorInfo interfaces and related classes.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.