praveeng78
08-24-2002, 11:12 PM
You are right about my plight. If only you could help me some more.
What exactly is the action.asp page. Is it on the server?? My vbscript part looks this way.
<%
sub connect(names)
Dim Conn
set Conn = server.createobject("ADODB.connection")
temp="DRIVER={Microsoft Access Driver (*.mdb)}; "
temp=temp&"DBQ="&server.mappath("./fpdb/Survey.mdb")
Conn.Open temp
Response.Write "DONE "&"****************"
Insert="insert into srilata (name) values ('"&names& "')"
Conn.Execute Insert
Conn.Close
END sub
%>
I have to store the "names" in the database. Names are obtained from a form.
Thanx.
What exactly is the action.asp page. Is it on the server?? My vbscript part looks this way.
<%
sub connect(names)
Dim Conn
set Conn = server.createobject("ADODB.connection")
temp="DRIVER={Microsoft Access Driver (*.mdb)}; "
temp=temp&"DBQ="&server.mappath("./fpdb/Survey.mdb")
Conn.Open temp
Response.Write "DONE "&"****************"
Insert="insert into srilata (name) values ('"&names& "')"
Conn.Execute Insert
Conn.Close
END sub
%>
I have to store the "names" in the database. Names are obtained from a form.
Thanx.