I typically create ASP files using VB Script connecting to SQL Server as follows:
strSQL = "Select * from tblEmployee"
set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Provider=SQLOLEDB.1;Password=xxxxxxx; etc.
Set rec = Server.CreateObject("ADODB.Recordset")
rec.Open...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.