Hello everybody,
Please somebody help me...I am trying to save webpage data on the access database (remote server)...on the local host everything is going fine....but when i m loading my web page on remote server and trying to save the data to the ms access database then i could not save it in the database.....
Problem is that i m not getting any error even ....on clicking on save button the page is navigating on the other webpage showing successfully data is saved but when i m checking in the database no new data is saved in it.....please somebody help me with this.....i m using following codes:
---
<%
Set Conn = Server.CreateObject("ADODB.Connection")
Set Rs = Server.CreateObject("ADODB.Recordset")
Conn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & Server.MapPath("Mypgdb.mdb")
sql= "Insert into UserDetail( FirstName, LastName, UserName, uPassword, Email, uPhone, Address, City, State, PostalCode, uRole, Course, RDate) VALUES ('" & T & "',' " & Co & "','"& Ss & "','" & Sp & "','" & Sc & "','" & Po & "','" & Pr & "','" & I & "','" & Mn & "','" & Con & "','" & Sr & "','" & Sg & "','" & Dt & "')"
sql1="select * from UserDetail WHERE UserName ='" & Ss & "'"
Conn.Execute(sql)
Set Rs = Nothing
conn.Close
Set Conn = Nothing
%>