J
JT
Hi,
I am using .NET 2.0 framework on this Winforms project. I am allowing
users to add new data to a DataGridView and subsequently updating the
database after they are through editing. My problem is that with a
repeatable sequence of clicks, the DGV will add too many new rows.
Because I'm defaulting the data in some columns, I don't allow editing
them. However, the data is not inserted in these extra rows. When I
try to delete them I get an exception. I can deal with exceptions,
but I want to figure out why it adds too many rows. Can anyone help
me determine why this is happening or where to trap it?
Because this is hard to describe or visualize, I've put a video at
http://www.Ryppl.com/Updates/ScrewedUpDataGridView.avi.
This has gotten me in other forms and it would be nice to figure it
out.
Thanks
I am using .NET 2.0 framework on this Winforms project. I am allowing
users to add new data to a DataGridView and subsequently updating the
database after they are through editing. My problem is that with a
repeatable sequence of clicks, the DGV will add too many new rows.
Because I'm defaulting the data in some columns, I don't allow editing
them. However, the data is not inserted in these extra rows. When I
try to delete them I get an exception. I can deal with exceptions,
but I want to figure out why it adds too many rows. Can anyone help
me determine why this is happening or where to trap it?
Because this is hard to describe or visualize, I've put a video at
http://www.Ryppl.com/Updates/ScrewedUpDataGridView.avi.
This has gotten me in other forms and it would be nice to figure it
out.
Thanks