i can't update ms access database
my code is below
<edit: e-mail address removed>
please answer me
my code is below
Code:
con.ConnectionString = ("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=J:\1111\11111\VMS.accdb")
con.Open()
Dim sql As String = "update login set password='11111', where username='suresh'"
Dim objCmd As OleDbCommand
objCmd = New OleDbCommand(sql, con)
'objCmd.Connection.Open()
objCmd.ExecuteNonQuery()//hear error occurred
con.Close()
please answer me
Comment