📜  asp 经典连接到数据库 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:33.129000             🧑  作者: Mango

代码示例1
<%

Dim conn

Set conn = Server.CreateObject("ADODB.Connection")

conn.Open "Provider=SQLOLEDB; Data Source = (local); Initial Catalog = Northwind; User Id = sa; Password="

If conn.errors.count = 0 Then

Response.Write "Connected OK"

End If

%>