Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- connect database access2007 with visual studio 2010
- *******button previous*********
- //////////////////////////////////////
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- InformationBindingSource.MovePrevious()
- End Sub
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- *******button AddNew*********
- //////////////////////////////
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- InformationBindingSource.AddNew()
- End Sub
- *******button Next*********
- //////////////////////////////
- Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
- InformationBindingSource.MoveNext()
- End Sub
- *******button save*********
- //////////////////////////////
- Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
- 'On Error GoTo saveErr
- InformationBindingSource.EndEdit()
- InformationTableAdapter.Update(_data_accdbDataSet)
- MessageBox.Show("ok Boss")
- 'saverr:
- Exit Sub
- End Sub
- *******button Delete*********
- //////////////////////////////
- Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
- InformationBindingSource.RemoveCurrent()
- End Sub
- *******button Close*********
- //////////////////////////////
- Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
- Me.Close()
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment