标签:com record 效果 logs eof .exe ado set exec
<% AlldayView=0 Set Rs=Server.CreateObject("Adodb.RecordSet") Sql="select * from viewCount" Rs.Open Sql,conn,1,1 If Not Rs.Eof And Not Rs.Bof Then conn.execute "update viewCount set allday=allday+1" AlldayView=Rs("allday") End If Rs.Close Set Rs=Nothing %> <div> <span style="font-size:22px;">网站访问量:<%=AlldayView%></span> <div>
SQL
效果图
标签:com record 效果 logs eof .exe ado set exec
原文地址:http://www.cnblogs.com/lstory/p/7397032.html