0
Reply

Updating datagrid VB.NET2008

victor perez

victor perez

Jul 25 2011 6:44 PM
1.3k
Ok VB.NET gurus, this rookie is kindly asking for your support with this datagrid refresh.  

BACKGROUND:

Form1 has a Datagrid, Dataset1 create by drag DB into datagrid.

Form2 presents the record selected from the datagrid. Within the LOAD_FORM I search the DB with the "Key" and place data in Dataset2 (DS created manually)

Challenge

Record updated in Form2 is saved in DB fine and when Form2 is closed, record updated does not appear in Form1.

I've tried the following but no sucess

In form1 closing event I've got the code to load data into the DS

Me.TUSERSTableAdapter.Fill(Me.PTDataSet.TUSERS)

What should I do to see the datagrid update?