Question Editing cells in datagridview

wstevens

Member
Joined
May 12, 2008
Messages
16
Location
South Africa PTA
Programming Experience
1-3
Hi All

I need to do the following. I have a datagridview in my application with 3 Columns. When I add a value to col1 I need it to reset the values of col2 and col3 to 0. If I change the value in col3 it needs to reset col2 and col1 to 0.

Can anybody point me in the right direction.


Thanks in advance.
 
Try using CellBeginEdit and CellEndEdit events to get/compare/set values.
 
Back
Top