J
Just Me
Im struggling a bit with the update function.
I have bound a table with lets say 5 records ( 4 columns ) to the gridview ,
this displays jsut fine. I have added edit/cancel/update buttons in a
column which duly fire the relevent events, I have handled the edit and
canel events OK, but Im having problem with the row_updated event.
I thought I would be able to get the new values
e.newvalues.item(Columnindex)
And assign this to the relevent value in the table, and then call the sql
update on the table adapter, but I cant even get this far. Botht the
newValues and oldValues return a keys count of zero
Any help would be appreciated, when I used to use the old dataGrid it was
e.item(index).cells(index) and this worked ok.
Thanks In Advance - JM
I have bound a table with lets say 5 records ( 4 columns ) to the gridview ,
this displays jsut fine. I have added edit/cancel/update buttons in a
column which duly fire the relevent events, I have handled the edit and
canel events OK, but Im having problem with the row_updated event.
I thought I would be able to get the new values
e.newvalues.item(Columnindex)
And assign this to the relevent value in the table, and then call the sql
update on the table adapter, but I cant even get this far. Botht the
newValues and oldValues return a keys count of zero
Any help would be appreciated, when I used to use the old dataGrid it was
e.item(index).cells(index) and this worked ok.
Thanks In Advance - JM