Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using a datagridview bind to a bindingsource to display my data in VB2005 . I want to be able to identify the original values of a cell when it is modified just as it exists in the dataset (original values).

How can I do this in a datagrid?

Thanks
Posted

1 solution

Use the Cell events, i.e.: CellEnter, CellEndEdit, CellValueChanged.
Here[^] is a collection of datagridview events
 
Share this answer
 
Comments
fez1 20-Aug-11 8:01am    
i'm looping through the datagridview rows and identifying the original values of the row. Therefore I cannot use the cells events. I'm doing a batch processing

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900