Click here to Skip to main content
15,916,398 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a datagridview in my win form
It has a calander cell which populate on first cell click means any row cell (0) .
dgv has allowusertoaddrow property true .
I used the code

From here[^]

for calander cell
now the problem is when I change the value of calander cell . and leave the cell .
instead of adding a single blank row it add three rows. and first two rows have the values for the autoincrement column and last row is full blank..

I trace the addrow event and it is firing three times .

I do not understand why it is happning ..
pls help
Posted
Updated 20-Sep-10 7:36am
v3
Comments
Henry Minute 20-Sep-10 13:38pm    
I have modified your link to a more user friendly type. Please check that it still points to the proper place.

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