相思资源网 Design By www.200059.com
<%
'asp 数组 批量修改记录
id=Request("id")
id=Split(id,",")
hits=Request("hits")
hits=Split(hits,",")
regtime=Request("regtime")
regtime=Split(regtime,",")
For i=LBound(id) To UBound(id)
Set rs = Server.CreateObject("ADODB.Recordset")
sql= "Select * from article where id ="&id(i)
If Not rs.EOF Then
rs("hits")=hits(i)
rs("regtime")=regtime(i)
rs.Update
End If
Next
%>
'asp 数组 批量修改记录
id=Request("id")
id=Split(id,",")
hits=Request("hits")
hits=Split(hits,",")
regtime=Request("regtime")
regtime=Split(regtime,",")
For i=LBound(id) To UBound(id)
Set rs = Server.CreateObject("ADODB.Recordset")
sql= "Select * from article where id ="&id(i)
If Not rs.EOF Then
rs("hits")=hits(i)
rs("regtime")=regtime(i)
rs.Update
End If
Next
%>
标签:
asp,批量,修改
相思资源网 Design By www.200059.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
相思资源网 Design By www.200059.com
暂无asp批量修改记录的代码的评论...