DataTable internal index is corrupted?!?!?!

M

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!
 

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

Top