C
Carlos
Hi!
When I execute a INSERT statement this error is display: "Operation must
use an updateable query"
The Server is a Windows 2003
The users of ASP.NET and IU_...... is in Administrators groups!
The database is Access 2003.
Can you help me please?
This is the code:
<% @Page Language = VB debug=true%>
<% @Import Namespace="System.Data"%>
<% @Import Namespace="System.Data.OLEDB"%>
<Script Runat=Server>
Sub Page_Load(sender As Object, e As EventArgs)
dim cnn as oledbconnection
dim cmd as oledbcommand
dim tabla as string
cnn = new oledbconnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" &
Server.MapPath("datos.mdb") & ";")
cmd = new oledbcommand("insert into table (field) values ('test')")
cmd.connection=cnn
cmd.connection.open()
cmd.executenonquery()
end sub
</Script>
When I execute a INSERT statement this error is display: "Operation must
use an updateable query"
The Server is a Windows 2003
The users of ASP.NET and IU_...... is in Administrators groups!
The database is Access 2003.
Can you help me please?
This is the code:
<% @Page Language = VB debug=true%>
<% @Import Namespace="System.Data"%>
<% @Import Namespace="System.Data.OLEDB"%>
<Script Runat=Server>
Sub Page_Load(sender As Object, e As EventArgs)
dim cnn as oledbconnection
dim cmd as oledbcommand
dim tabla as string
cnn = new oledbconnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" &
Server.MapPath("datos.mdb") & ";")
cmd = new oledbcommand("insert into table (field) values ('test')")
cmd.connection=cnn
cmd.connection.open()
cmd.executenonquery()
end sub
</Script>