{
private static Connection conn
private ConnectDB(){}
public static Connection getConnection()
{
if(conn == null)
{
DataSource ds = null
try
{
一段 access 的数据库连接<%
Response.Expires=-1
response.charset="utf-8"
Toskydb ="/data/#xsystem.mdb" '数据库路径
connstr="Provider=Microsoft.Jet.OLEDB.4.0Data Source=" &Server.MapPath(""&Toskydb&"")
Set conn=server.createobject("ADODB.CONNECTION")
conn.open connstr
%>
mssql 2005的数据库连接
Dim clearapp,Tosky_,conn,connstr,rs
dim DB_ServerName,DB_SecurityInfo,DB_UserName,DB_PassWord,DB_DateBase,DB_Provider
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)