Is it possible to 'hook up' my exception to the DataError event of a DataGridView?
I have a DataSet's DataTable bound to a DataGridView. I want the DataError event of the DataGridView to get the exception that I throw in the ColumnChanging event handler of the DataTable. Is this possible? If so, how?
You would have to implement a custom DataGridView class and provide a public method to accept some Exception object which would then call DataGridView.OnDataError().
Peter Ritchie Wednesday, July 19, 2006 4:09 PM
You would have to implement a custom DataGridView class and provide a public method to accept some Exception object which would then call DataGridView.OnDataError().