Home All Groups Group Topic Archive Search About

DataTable internal index is corrupted?!?!?!

Author
4 Jul 2006 4:47 PM
Mike
Hi all,

Some code of mine which has been working for well over nine months, in a
recent build (with unassociated changes) has just stopped working.

I have a DataTable, which belongs to a DataSet created in the designer. This
is bound to a DataGridView to represent the data.

I have a CSV file import routine, which parses through a CSV file, creates a
new row and adds it like thus:

DataSet1.MyTable.AddMyTableRow(newRow)

This line now crashes out with the error:



DataTable internal index is corrupted: '5'.

Any ideas why?!

I've tried surrounding the above statement with .BeginLoadData and
..EndLoadData, with no success.

Thanks in advance!

AddThis Social Bookmark Button