Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
ASP.NET

Connecting ASP with SQL Server

Open SQL Server with an OLE DB/ODBC connection string.

Connecting ASP with SQL Server — a practical guide to Classic ASP SQL Server with clear examples you can reuse in real projects.

ASP & ASP.NET Tutorial Series (27/247). Prefer one article? Read the complete ASP.NET tutorial.

Short description

Store connection strings outside public web root when possible.

Connection sketch

Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Provider=SQLOLEDB;Data Source=.;Initial Catalog=AppDb;Integrated Security=SSPI;"

Leave a reply

Your email address will not be published. Required fields are marked *