Hi
I have a datagridview that when I double click a record it opens a second form where i can edit the details. Upon saving and closing this second form the datagridview in the first form is not refreshed or updated. I know that the data is being saved becase if i close the datagridview form and reopen it again, the correct data appears.
Both forms are connected to ClientesBindingSource.Code:Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Me.Validate() Me.ClientesBindingSource.EndEdit() Me.TableAdapterManager.UpdateAll(Me.Bd1DataSet) 'Presumably i need to call something here to update the datagrid view in my first form like refresh or refill or update???' Me.Close() End Sub
Any help much appreciated.![]()




Reply With Quote