How 2 solve this err - "Operation must use an updateable query"
-
My database access is using this code : dim dbconn,sql,dbcomm,dbread dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; &_ data source=" & server.mappath("er.mdb")) dbconn.Open() sql="update bldinein set showno = '' Where billing_no = ''" dbcomm=New OleDbCommand(sql,dbconn) dbread=dbcomm.ExecuteReader() dbconn.close() But when I upload the file 2 internet, there will show error msg "Operation must use an updateable query". How 2solve this problem? :^)
-
My database access is using this code : dim dbconn,sql,dbcomm,dbread dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; &_ data source=" & server.mappath("er.mdb")) dbconn.Open() sql="update bldinein set showno = '' Where billing_no = ''" dbcomm=New OleDbCommand(sql,dbconn) dbread=dbcomm.ExecuteReader() dbconn.close() But when I upload the file 2 internet, there will show error msg "Operation must use an updateable query". How 2solve this problem? :^)
Does your table [bldinein] have a primary key?
-
Does your table [bldinein] have a primary key?
-
Does your ASP.NET process account have access to write to the .mdb file and to its containing folder?