How to do wpf datavalidation with Ado.net
How can i use data validation mechanisms with ado.net datatable or datasets.开发者_如何学运维 I have an input form which i am binding to a datatable.Now i want to do input validation how can i do that.I have tried using validationRules but i cant bind parameters to it.I tried using idataerrorinfo but cant get a clue.can someone provide some input..?
Here is something that can be helpful:
Displaying Data Validation Messages in WPF - By Beth Massi
She mentions in there the following:
"If you are using DataSets on your WPF or Windows Forms, the DataRowView already implements this interface so you can just add validation to your DataTable partial classes and you're good to go"
精彩评论