HI, I have a form1 with datagridview, and same datagridview in form2. both have databindingsource
so when I update any data in form1 it should reflect the changes in form2, when both are open.
Here is some what could i get, but its not refreshing the data.
form 2 load event code-
Dim timer1 As New Timer()
timer1.Interval = 200
AddHandler timer1.Tick, AddressOf Timer1_Tick
timer1.Start()
Private Sub timer1_Tick(ByVal sender As Object, ByVal e As EventArgs)
UpdateDGV()
End Sub
Private Sub UpdateDGV()
Me.Validate()
Me.PatientDetailsBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.ArhamDataSet)
End Sub