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.

Re: Program stuck when removing row from DataTable by Geoff

Geoff
Thu Jun 08 11:28:43 CDT 2006

Are you using "myDataGridView.Rows.RemoveAt()" ?


Dagan wrote:
> 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.


Re: Program stuck when removing row from DataTable by Frans

Frans
Fri Jun 09 03:35:01 CDT 2006

Dagan wrote:

> 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#)
------------------------------------------------------------------------

Re: Program stuck when removing row from DataTable by Dagan

Dagan
Tue Jun 13 07:48:27 CDT 2006

No Remove rows on DataTable

"Geoff Munday" <nonspect@gmail.com> wrote in message
news:1149784123.059169.323030@h76g2000cwa.googlegroups.com...
> Are you using "myDataGridView.Rows.RemoveAt()" ?
>
>
> Dagan wrote:
> > 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.
>