日期:2014-05-16 浏览次数:21203 次
dim cn,sConn,rs,sql
sConn="链接字符串"
set cn = Server.CreateObject("ADODB.Connection")
cn.Open(sConn)
sql="搜索语句"
set rs= server.CreateObject("ADODB.RecordSet")
rs.Open sql,cn,adOpenStatic,adLockOptimistic
rs.close
cn.close
set rs=nothing
set cn=nothing
dim sConn,rs,sql
sConn="链接字符串"
sql="搜索语句"
set rs= server.CreateObject("ADODB.RecordSet")
rs.Open sql,sConn,adOpenStatic,adLockOptimistic
rs.close
set rs=nothing