Error when using rowchanging event in datatable

  • Thread starter Thread starter AH
  • Start date Start date
A

AH

Hi, I used a dataTable to bind to datagrid. I setup code to handle the
rowchanging event but whenever I change from one row to another in the
datagrid, the datagrid changed to a white box with a big red-crossed, an
error message box with titled "Error when committing the row to the original
data store" and prompted "no value at index 0, do you want to correct the
value?"
I suspect some bugs in VB.NET (2003) since column changing , column changed,
and row changed events all worked except for the row changing event. I
originally thought it was due to first row, I suspend the event handler till
more then one row of record been entered but still the same problem occur.
Could anyone care to comment or experience the same?

Thank you,

Albert
 
Hi,

You are not the first person to report getting a big red X in a
datagrid. Post your code for the rowchanging event maybe we can see the
error.

Ken
 

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