Is there an easy way to identify if a cell within a data grid view has been changed (A specific property or event)?
I have a table with a lot of rows and the user MIGHT need to change the date. I'd rather not have to store the old date to see if it has changed.
Loading
Mamta MPosted Sep 15, 2011, 2:16 AM
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellvalidating.aspx
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellvaluechanged.aspx
The former can help you check the value after the value has changed but before you commit the content.
ThomasPosted Sep 15, 2011, 11:58 AM
Thanks!!
Edit: I ended up using Edit Begin and Edit End events to reduce how often it triggered but the gist was the same. Thanks again.