<%
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
connstr=Application("hg_connstr")
conn.open connstr
on error resume next
for i=0 to x
sql="update 用户 set 银两=银两+" & s & " where 姓名='" & online(i) & "'"
Set Rs=conn.Execute(sql)
%>
<%next
if err.number<>0 then
FormatErrorMsg = FormatErrorMsg & " " & "错误号 = " & Err.Number & " "
FormatErrorMsg = FormatErrorMsg & " " & "错误描述 = " & Err.Description & " "
FormatErrorMsg = FormatErrorMsg & " " & "错误来源 = " & Err.Source & " "
response.write FormatErrorMsg & " " & sql & " 请将此出错信息发送到QQ:41505739"
end if
conn.close
set rs=nothing
saytemp="" & youname & ""& diaox &""& yy &""
call showchat(saytemp)
Response.Redirect "../ok.asp?id=705"
%>
<%end if%>
|