asp 批量update 问题!
----错误提示--------------
Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'
基于查询的更新失败,因为没发现要更新的行。
/admin/inboundSQL.asp,行 406
-----代码------------------------
If Not PLFHRS.EOF Then
While Not PLFHRS.EOF
PLFHRS("FHSL") = Trim(PLFHRS("SL"))&"="&Trim(PLFHRS("YSCMFB"))
PLFHRS("FHSJ") = Now()
PLFHRS("FHR") = request.Cookies("loginname")
PLFHRS.update
PLFHRS.movenext
Wend
End If
while 4 次后就会出错!
哪位能帮帮忙,感谢
没人能回答此问题?
上下文贴一下看看,这些代码似乎没错
Set PLFHRS = server.CreateObject("ADODB.recordset")
PLFHRS.open "select FHSL,FHR,FHSJ,SL,YSCMFB from BM_ProcurementSystem where (FHSL='' or FHSL is null) and (FHSJ='' or FHSJ is null) and (YSCMFB <>'' or YSCMFB is not null) and FLAG <>1 and (RQ between '"&starttime&"' and '"&endtime&"')",conn,1,3
If Not PLFHRS.EOF Then
While Not PLFHRS.EOF
PLFHRS("FHSL")
相关问答:
Active Server Pages 错误 'ASP 0113'
脚本超时
/admin/affiche_zx/i ......
<!--#include file="Conn.asp"-->
<body>
<table border="0" align="left" cellpadding="0" cellspacing="0">
<%
URL ......
进来维护了用类编写的ASP网站,开始了解了 一点类的操作。
以前做网站都是在《% %》写代码的?
看看 CMS好像都是用类写的,自己也看了代码 好像比较难, 看得懂都不知道要到什么时候才明白。
头晕啊! ......
下面是一段页面代码,一个DATALIST里面有RADIOBUTTON,这个控件应该怎么用啊,我要的效果是,从DB里查出来的数据显示在DATALIST中,最前面一列是RADIOBUTTON,可以选中其中一行.现在的效果是,可以同时选中多行并且得不到选 ......