Hi
I have my main form which has a "New Customer" button on it and a DataGrid
when you click the "New Customer" Button it opens up a new form where you can add all the detials in and press save then the data is saved into SQL database.
can anyone tell me how to refresh my datagrid upon closing this form? as the as at the moment the data from my SQL database is loaded in when the form loads(program starts) using the code below
CODE]Me.CustomersTableAdapter.Fill(Me.MySoftwareDB.customers)[/CODE]
Thanks
I have my main form which has a "New Customer" button on it and a DataGrid
when you click the "New Customer" Button it opens up a new form where you can add all the detials in and press save then the data is saved into SQL database.
can anyone tell me how to refresh my datagrid upon closing this form? as the as at the moment the data from my SQL database is loaded in when the form loads(program starts) using the code below
CODE]Me.CustomersTableAdapter.Fill(Me.MySoftwareDB.customers)[/CODE]
Thanks