p.jones

p.jones

  • NA
  • 124
  • 0

DataGrid on DataSet not displaying DataRow errors.

Jun 29 2004 10:39 AM
Anyone come across this please? I created a multi-table dataset. I created a DataGrid and bound it to dataset with null string for tablename. That allows a datatable hierarchy to be viewed. I drill down and insert a new child record. I use the dataAdapter.Update command on a selection of DataRows that contains only the new DataRow. On return the DataRow does has a error and the HasErrors and RowError properties are set to True and the error message text. We do DataGrid.Refresh and try to view the row errors through the DataGrid. The row is still there, but no sign of the error. I thought DataGrid examined the row for you and would put a ! next to the row and would display the error message when the mouse rolled over the row?? Thanks!

Answers (1)