| re: Error when using rowchanging event in datatable
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
-------------------
"AH" <hanbert@hotmail.com> wrote in message
news:efBcdO7wDHA.2448@TK2MSFTNGP12.phx.gbl...[color=blue]
> 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[/color]
original[color=blue]
> 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[/color]
changed,[color=blue]
> 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[/color]
till[color=blue]
> 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
>
>[/color] |