Hi,
I have a windows form which has a DataGrid control (Not DataGridView) on it.
The DataGrid control is bound ot to a DataTable. Everytime the user presses delete button on one of the rows on the grid, I want to check a condition and stop the row from being deleted if the condition is false.
I have subscribed to the RowDeleting event of the DataTable, but i cant find a way to cancel to the delete operation performed by the user.
Has anyone come across this ?
Thanks in anticipation.
Raghu.