?? conn.asp
字號:
<%
dim conn,connstr
on error resume next
if chatdate=1 then
connstr="Provider=SQLOLEDB;SERVER=(Local);UID=sa;PWD=;DATABASE="
elseif chatdate=0 then
connstr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath("dachat.asp")
end if
set conn=server.createobject("adodb.connection")
conn.open connstr
if err then
err.clear
else
conn.open connstr
if err then
err.clear
end if
end if
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -