Please help, I got the code below from a book but it doesnt seem to work:
try
oledbDataAdapter1.update("GH")
Catch ex as exception
msbox(ex.tostring)
end try
I'm using ms access 2003, here is my connection string:
Dim cn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\ACCESS DATABASE\search.mdb")
Dim cmd As OleDbCommand = New OleDbCommand("Select * from GH where IDNUMBER= '" & TextBox1.Text & "' ", cn)