求助数据库连接问题
我做了个系统,数据库用的是 系统DSN 连接的,现在想改成 无DSN 连接,请问怎么修改?
什么数据库?
SQL
SqlPassword = "456520"
SqlUsername = "sa"
SqlLocalName = "(local)"
ConnStr = "Provider = Sqloledb; User ID = " & SqlUsername & "; Password = " & SqlPassword & "; Initial Catalog = " & DBaseName & "; Data Source = " & SqlLocalName & ";"
Access
Conn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(AccessFile)