我现在一直用第一种连接方法,当是我听别人说还有更好的连接方法可以提高速度你们帮忙看看哪个好速度快
第一种
Set rs = Server.CreateObject("Adodb.Recordset")
            Sql = "select [ding] from wxwap_config"
rs.Open Sql,conn,1,1                  rs.close
set rs=nothing
第二种  '这种我还没用过不知道有没有写错
set rs=conn.execute("select [ding] from wxwap_config")
rs.Open Sql,conn,1,1                  rs.close
set rs=nothing下面还有一个
sqlo="select  count(fid)  from fcount where  fuserid="&siteid
set rso=conn.execute(sqlo)
if not rso.eof then
fonline=rso(0)
else
fonline=0
end if
rso.Close
set rso=nothing