-
Notifications
You must be signed in to change notification settings - Fork 1
/
busDatabase.vb
30 lines (23 loc) · 1.08 KB
/
busDatabase.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Public Class busDatabase
Private Sub busDatabase_Load(sender As Object, e As EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'Ds.bus_details' table. You can move, or remove it, as needed.
Me.Bus_detailsTableAdapter.Fill(Me.Ds.bus_details)
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
BusdetailsBindingSource.MovePrevious()
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
BusdetailsBindingSource.MoveNext()
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
BusdetailsBindingSource.RemoveCurrent()
End Sub
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
BusdetailsBindingSource.EndEdit()
Bus_detailsTableAdapter.Update(Ds.bus_details)
End Sub
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
Me.Hide()
Admin.Show()
End Sub
End Class