Hi,
I am fairly new to SQL and ASP, but an old client of mine(I do websites in PHP and mySQL) asked me to switch an application with an Access database and ASP front-end to SQL. He puchased SQL Server 2005. I have moved the database from Access to SQL with no trouble. Now I am looking at the ASP and really don't understand ASP but believe that I can just change the connection strings in the files and that is all that will be required. Can someone do some handholding and help me?
Here is the connection information as it stands:
set cn=server.createobject("ADODB.connection")
cn.open "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE="&server.mapPath("/_database/Database.mdb")
set r=server.createobject("adodb.recordset")
sql="select * from CommentCards"
total=0
r.open sql,cn
do until r.EOF
total=total+1
r.movenext
loop
r.close
cn.close
I am fairly new to SQL and ASP, but an old client of mine(I do websites in PHP and mySQL) asked me to switch an application with an Access database and ASP front-end to SQL. He puchased SQL Server 2005. I have moved the database from Access to SQL with no trouble. Now I am looking at the ASP and really don't understand ASP but believe that I can just change the connection strings in the files and that is all that will be required. Can someone do some handholding and help me?
Here is the connection information as it stands:
set cn=server.createobject("ADODB.connection")
cn.open "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE="&server.mapPath("/_database/Database.mdb")
set r=server.createobject("adodb.recordset")
sql="select * from CommentCards"
total=0
r.open sql,cn
do until r.EOF
total=total+1
r.movenext
loop
r.close
cn.close