小白请教当action= 1时,如何根据userid把WebAccounts 值发送给服务器端
set rs=Server.CreateObject("ADODB.RecordSet")
sql = "select UserID from 表名 where userid = " & UserID
rs.open sql,conn,1,1
if not rs.eof then
if action = "1" then
sql ="select WebAccounts from AccountsInfo where userid=" & UserID
conn.execute(sql)
response.Write(?????)
response.End()
else
if ZH="" or isnumeric(ZH)=false then
response.Write("no")
response.End()
sql ="update AccountsInfo set WebAccounts ="&ZH &"where userid="UserID
conn.execute(sql)
response.Write("yes")
response.End()
end if
end if