我是靠谱客的博主 粗犷蛋挞,这篇文章主要介绍asp批量修改记录的代码,现在分享给大家,希望可以做个参考。

<%
'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批量修改记录的代码的全部内容,更多相关asp批量修改记录内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(194)

评论列表共有 0 条评论

立即
投稿
返回
顶部