sunilkumarpt
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by sunilkumarpt
-
-
firt u check ur security permission then try below code<%set conn=Server.CreateObject("ADODB.Connection")conn.Open "Forum"%><html><body><%conn("PosterName")=Request.Form("Name")conn("date")=Request.Form("date")conn("comments")=Request.form("comment")conn.updateconn.close%></body></html>
-
firt u check ur security permission then try below code<%set conn=Server.CreateObject("ADODB.Connection")conn.Open "Forum"set rs=Server.CreateObject("ADODB.recordset")%><html><body><%rs("PosterName")=Request.Form("Name")rs("date")=Request.Form("date")rs("comments")=Request.form("comment")rs.updateconn.close%></body></html>I'm having this same problem, I can't insert any records into my access database. I keep gertting referred to the no update permissions page alternative. I was wondering whether you could help me. Do you have any experience in using MS access 2002? here is my code:<%set conn=Server.CreateObject("ADODB.Connection")conn.Open "Forum"set rs=Server.CreateObject("ADODB.recordset")%><html><body><%sql="INSERT INTO forum1 (PosterName,Date,Comments,"sql=sql & " VALUES "sql=sql & "('" & Request.Form("name") & "',"sql=sql & "('" & Request.Form("date") & "',"sql=sql & "'" & Request.Form("comment") & "');"on error resume nextconn.Execute sql,recAffectedif err<>0 then Response.Write("No update permissions!")else Response.Write("<h3>" & recAffected & " record added</h3>")end ifconn.close%></body></html>
need serious help on asp and ms access
in ASP
Posted