DataGrid bounded to a DataTable with composite key
Database
1
Posts
1
Posters
0
Views
1
Watching
-
I have a DataTable with composite key bounded to the DataGrid. So when the user inserts some data which violates the constraint, an exception is thrown. What is the right place (event etc) to do any additional custom Validation? Another problem is the the message that DataTable throws is not user friendly? How can I stop it and give a more meaningful message? The message I got is "Error when committing the row to the original data store"