Groups | Blog | Home
all groups > vb.net controls > september 2004 >

vb.net controls : Datagrid, dataview refresh issue


zdrakec NO[at]SPAM yahoo.com
9/21/2004 10:40:38 AM
Hello all:

I have a datagrid bound to a dataview. When my user enters a new row,
and selects an Update option, the new row is inserted and the new ID
for the row should be displayed. However, although the insert is
occuring correctly, the grid is not refreshing to display the new ID
(which is generated by the database). I am calling AcceptChanges on
the dataview, and have attempted to rebind... do I have to re-execute
my select command on the underlying data table to display this id?

Suggestions, please....

Thanks much,

Andy
9/21/2004 8:33:01 PM
AddThis Social Bookmark Button