Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a editable datagrid, I can save and update the data with it

Now I want to validate the datagrid cell by cell

What I have tried:

I have created a validate class with data annotation and mapped it with entity object... but I think I am doing to wrong way


I am reading lot of things over internet, but not able to understand the concept

So if anyone could tell a way to do it with little explanation will be great.

Or any good links will also help

TIA
Posted
Updated 9-Mar-17 20:22pm

1 solution

Here are a couple of articles to get you started:

* How to: Implement Validation with the DataGrid Control[^]

* Validation in a WPF DataGrid[^]

You can find more using this Google Search: wpf datagrid edit validation - Google Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900