Program stuck when removing row from DataTable

  • Thread starter Thread starter Dagan
  • Start date Start date
D

Dagan

Hello

I have built a DataGridView that its data source is binded to a DataTable
after adding it 200 rows I try to remove the first row and the program
stuck, What could it be????


Thanks.
 
Dagan said:
Hello

I have built a DataGridView that its data source is binded to a
DataTable after adding it 200 rows I try to remove the first row and
the program stuck, What could it be????

Try to run the program in the debugger, then delete the row, then go
to vs.net and press the || (pause) button to break the code where it is
at that point. 10 to 1 you end up in the infinite looping code which
causes the hang.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 
Back
Top