For some reason I get the "Data type mismatch in criteria expression." error at the "con.Execute sqlupdate". WHAT AM I NOT DOING.
<%@Language=VBScript%>
<% Option Explicit %>
<%
' Setting variables
Dim con, sqlupdate, datasource, frmValue
datasource = "essex"
frmValue = request.form("datainfo"
sqlupdate = "update tblcontent set content = 'frmvalue' where id = '1'"
' Creating the Connection Object and opening the database
set con=Server.CreateObject("ADODB.Connection"
con.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("essex.mdb"
con.open
' Executing the sql update code
con.Execute sqlupdate
' Done. Now Close the connection
con.Close
Set con = Nothing
<%@Language=VBScript%>
<% Option Explicit %>
<%
' Setting variables
Dim con, sqlupdate, datasource, frmValue
datasource = "essex"
frmValue = request.form("datainfo"
sqlupdate = "update tblcontent set content = 'frmvalue' where id = '1'"
' Creating the Connection Object and opening the database
set con=Server.CreateObject("ADODB.Connection"
con.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & server.mappath("essex.mdb"
con.open
' Executing the sql update code
con.Execute sqlupdate
' Done. Now Close the connection
con.Close
Set con = Nothing