OK assuming that you are binding the datagrid to a dataset. Call the dataset
ds1, the dataadapter da1 and the datagrid dg1 and assuming that you have
generated the dataset using the wizard in the forms editor.
dim ds2 as new ds1
da1.fill(ds2)
dim dsChange as dataset
-------------------------------------
in form load---------------
dg1.datasource = ds2.mytablename
--------------------------------------
in a button_click event
dim dsChange as dataset
if ds1.haschanges then
dsChange = ds1.getchanges
da1.update(dsChange)
ds1.acceptchanges
end if
------------------------------------------
create a button called save or update and put the button_click code in there
you can use datatables too
bryan
"fabian" <fa*************@earthlink.net> wrote in message
news:54**************************@posting.google.c om...
I Apoligize for my writing but I speak spanish.
I'm starting with the datagrid and I want to know how I can to update
a datagrid after update a database. I want to do this without leave
the datagrid screen. I was doing with refresh and some more
instruction but I can't do it. Please help me.