im working on this piece of code and for sum reason i cannot understand why i keep getting this message can you please advise me
thanks in advance
'sql statements
strsql = "insert into c_security_user (user_name, user_pwd,) values ('" & txtuser.Text & "','" & txtpass.Text & "')"
Dim acscmd As New OleDb.OleDbCommand ' the oledbcommand
acscmd.CommandText = strsql 'sets the sql string
acscmd.Connection = acsconn 'sets the connection to use the oledbcommand
cmd.ExecuteNonQuery() ' execute oledb commands non query only
acscmd.Dispose()
MsgBox("Saved")
the text in red is were the error shows