Datagridview cellvalidating not working
I know how we can do this, however, I just need to know how you bind your datagrid...
If you let me know, I'll write you a handler so that we can examine the value in your validating event, and if the date is not proper, we can examine the underlying datasource, and view the .
Original Value of the column for the row, and if it was null, then we can simply reset that value to null.
While the error trace made it appear that the grid cell was not validating until after the button click event was finished.Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.When is the cell validated event suppose to be fired I have a simple form with a Data View Grid and a button (among other things).Value But returns an error stating that this is a read-only value.Let me know what you use for a datasource (If it is not Datarows; i.e., a dataset, datatable, dataview), then we may need to add some logic if your using objects.