I have created an application which utilises a database to store information , how do I now allow that information to be updated from any computer connected along the same LAN. so once someone entered and saves new information them all other databases in the same app will update .
Private Sub MLGMain_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Timer1.Start()
'how do i get MLGDatabaseDataSet to be a file path here'
Me.LocationRecordTableAdapter.Fill(Me.MLGDatabaseDataSet.LocationRecord)
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
UPDATETIME = UPDATETIME + 1
Label1.Text = UPDATETIME
If UPDATETIME > 700 Then
'---------------------------------------UPDATE DATABASE-----------------------------------------'
LocationRecordDataGridView.Refresh()
LocationRecordDataGridView.DataSource = Nothing
LocationRecordDataGridView.DataSource = ("C:\Users\User\Documents\folder\MLGDatabase.sdf")
Me.LocationRecordDataGridView.DataSource = LocationRecordBindingSource
LocationRecordBindingSource.RemoveFilter()
LocationRecordDataGridView.Refresh()
LocationRecordDataGridView.Refresh()
UPDATETIME = 0
End If
End Sub