'*********************************************************
' 目的: 数据库连接
'*********************************************************
Function OpenConnect()
ConnStr = "Provider = Sqloledb; User ID = " & SqlUsername & "; Password = " & SqlPassword & "; Initial Catalog = " & SqlDatabaseName & "; Data Source = " & SqlLocalName & ";"
Set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open ConnStr
OpenConnect=True
End Function
'*********************************************************
请问这是连接什么数据库的啊?怎么看不出来呢?
慕妹3146593
慕码人8056858
相关分类