Hi i want to know what code should i use to command a button to delete all rows in just one click, for now i only know this code
Record will be the name of my table on database that is why..
Private Sub delete_all_Click
Me.RecordBindingSource.RemoveCurrent()
End Sub
End Class
in that way it will function to delete rows one by one ,but the problem i want to delete all data on each of my fields by clicking the button delete all .Should i need to loop it can anyone teach me how to do that cause i'm a beginner in visual basic studio 2010 Thanks!
Record will be the name of my table on database that is why..
Private Sub delete_all_Click
Me.RecordBindingSource.RemoveCurrent()
End Sub
End Class
in that way it will function to delete rows one by one ,but the problem i want to delete all data on each of my fields by clicking the button delete all .Should i need to loop it can anyone teach me how to do that cause i'm a beginner in visual basic studio 2010 Thanks!