W
wy0311
Unregistered / Unconfirmed
GUEST, unregistred user!
strDSN = "FILEDSN=C:/123/odbc.dsn"
Set rsCustomers = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT * FROM data"
rsCustomers.Open strSQL, strDSN
怎样把 strDSN = "FILEDSN=C:/123/odbc.dsn" 中的绝对路径改成相对路径?
Set rsCustomers = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT * FROM data"
rsCustomers.Open strSQL, strDSN
怎样把 strDSN = "FILEDSN=C:/123/odbc.dsn" 中的绝对路径改成相对路径?