asp update语句问题 数据库 (本人菜鸟)
以下为语句:setrs1=server.CreateObject("adodb.recordset")rs1.open"select*fromnewswhere[lm2]...
以下为语句:set rs1=server.CreateObject("adodb.recordset")
rs1.open "select * from news where [lm2]='54' order by [updat] desc",conn,1,3
if rs1("pic")="" then
rs1.open "update news set [pic]='1' where [lm2]='54' order by [updat] desc",conn,1,3
end if
rs1.close
set rs1=nothing
update语句不能更新数据库。求高手!! 展开
rs1.open "select * from news where [lm2]='54' order by [updat] desc",conn,1,3
if rs1("pic")="" then
rs1.open "update news set [pic]='1' where [lm2]='54' order by [updat] desc",conn,1,3
end if
rs1.close
set rs1=nothing
update语句不能更新数据库。求高手!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询