<%
If Request("action")="shenhe" Then
Call ChkReg()
End If
Sub ChkReg()
Dim memo2
memo2 = Trim(Request.Form("caigou1"))
select case memo2
case "自"
'增加居民数据记录
Dim Rs,Sql
if request("id")<>"" then sersach=" and ID like '%"&request("id")&"%'"
Sql = "Select * From [DB_yy] where ID>0 "&sersach&" Order By ID Desc"
Rs.open Sql,conn,1,3
Rs("memo2") = memo2
case "中"
if request("id")<>"" then sersach=" and ID like '%"&request("id")&"%'"
Sql = "Select * From [DB_yy] where ID>0 "&sersach&" Order By ID Desc"
Rs.open Sql,conn,1,3
Rs("memo2") = memo2
case "公"
if request("id")<>"" then sersach=" and ID like '%"&request("id")&"%'"
Sql = "Select * From [DB_yy] where ID>0 "&sersach&" Order By ID Desc"
Rs.open Sql,conn,1,3
Rs("memo2") = memo2
case "其"
if request("id")<>"" then sersach=" and ID like '%"&request("id")&"%'"
Sql = "Select * From [DB_yy] where ID>0 "&sersach&" Order By ID Desc"
Rs.open Sql,conn,1,3
Rs("memo2") = Trim(Request.Form("qitaneirong"))
end select
Rs.Update
Rs.Close
Set Rs = nothing
Response.Write ""
Response.End
End Sub
%>
asp代码出现缺少对象错误 运行时错误 '800a01a8'
答案:2 悬赏:70 手机版
解决时间 2021-01-25 04:00
- 提问者网友:山高云阔
- 2021-01-24 10:07
最佳答案
- 五星知识达人网友:不甚了了
- 2021-01-24 10:37
set rs=Server.CreateObject("ADODB.Recordset")dim rs 后面加一句
全部回答
- 1楼网友:十年萤火照君眠
- 2021-01-24 10:55
没看明白你在做什么
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯