prav_roy
Well-known member
when i execute the following querry i get the error saying
Operation must use an updateable query
my code goes like this
Dim com As OleDbCommand = New OleDbCommand("insert into ajit (name,age)values('" & TextBox2.Text & "','" & TextBox3.Text & "')", dbconn)
dbconn.Open()
com.ExecuteNonQuery()
dbconn.Close()
can anybody help me in finding out the error, also tel me is this method of inserting into database is effective, is not suggest me an alternative
Operation must use an updateable query
my code goes like this
Dim com As OleDbCommand = New OleDbCommand("insert into ajit (name,age)values('" & TextBox2.Text & "','" & TextBox3.Text & "')", dbconn)
dbconn.Open()
com.ExecuteNonQuery()
dbconn.Close()
can anybody help me in finding out the error, also tel me is this method of inserting into database is effective, is not suggest me an alternative