DataGridView RowsAdded RowsRemoved events problem

  • Thread starter Thread starter AleXmanFree
  • Start date Start date
A

AleXmanFree

Hi, I am confused with behavior of this two Events in DataGridView
control (in .net framework 2.0)
when i am adding to grid a new text it calls RowsAdded event, but
amaizing is that from time to time it also calles RowsRemoved event,
that but that must be called only in deletion case.
How can i overcome this problem ? please let me know.
 
also want to metion that at time when datagridview.DataSource is being
set to dataTable at the same time it calles and RowsAdded and
RowsRemoved, dosen't this a bug ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top