Chris
Chris

Reputation:

.NET: System.ComponentModel.DataAnnotations

Can someone point me to a web-cast or tutorial/video that explains this new namespace and how I can use it to help validate data like user input?

Upvotes: 5

Views: 5928

Answers (1)

Andrew Hare
Andrew Hare

Reputation: 351526

Try this (sorry, not visual):

ASP.NET MVC Tip #43 – Use Data Annotation Validators:

In this tip, I demonstrate how to take advantage of the validators from the System.ComponentModel.DataAnnotations namespace in an MVC application. You can take advantage of these validators to validate form data before submitting the form data into a database.

Upvotes: 7

Related Questions