datagridview rowsremoved event gets called every time data loads

Posted by Nilotpal Das on Stack Overflow See other posts from Stack Overflow or by Nilotpal Das
Published on 2010-06-16T11:21:41Z Indexed on 2010/06/16 11:22 UTC
Read the original article Hit count: 269

Filed under:
|
|

The datagridview rowsremoved event gets called every time the data gets loaded. It also makes sense to a certain extent that every time the data loads, the existing rows are removed. so technically the event should get called.

But how do i differenciate that from the actual delete button getting pressed. I don't think the key events should be used, that wouldn't be a clean approach.

Any help will be most appreciated.

© Stack Overflow or respective owner

Related posts about winforms

Related posts about events