hi
im new in asp.net
trying to insert a record with the following code
getting error "Operation must use an updateable query. "
the table tmporder just have a single number field
if any 1 knows that plz tell me
regards
mars
im new in asp.net
trying to insert a record with the following code
VB.NET:
dim ncount,connstr1 connStr1 = "Provider=Microsoft.Jet.OLEDB.4.0;data Source=c:\shopingcart1.mdb"
dim cnAccess1 as New OleDbConnection(connStr1)
cnAccess1.Open()
dim cmd as new OleDbCommand
cmd.Connection = cnAccess1
cmd.CommandText ="insert into tmporder values (2)"
nCount = cmd.ExecuteNonQuery()
label1.text = "Inserted"
the table tmporder just have a single number field
if any 1 knows that plz tell me
regards
mars
Last edited by a moderator: