ASP网页上多项选中一起删除的问题(急!!)
<%do while not rs.eof%>
<tr class="tdbg">
<td width="47" height="22" align="center" bgcolor="#C0C0C0"> <input name='ArticleID' type='checkbox' onclick="unselectall()" id="ArticleID" value='<%=cstr(rs("articleID"))%>'>
</td>
<td width="28" align="center" bgcolor="#E3E3E3"><%=rs("articleid")%></td>
<td width="82" align="center" bgcolor="#E3E3E3"><%=rs("Product_Id")%></td>
<td bgcolor="#E3E3E3"> <a href="../ArticleShow.asp?ArticleID=<%=rs("articleid")%>" target="_blank"><%=rs("title")%></a></td>
<td width="68" align="center" bgcolor="#E3E3E3"><%= FormatDateTime(rs("UpdateTime"),2) %></td>
<td width="68" align="center" bgcolor="#E3E3E3">
<%if rs("Passed")=true then%>
已审核
<%else%>
<font color="#FF0000">未审核</font>
<%end if%>
</td>
<td width="80" align="center" bgcolor="#E3E3E3">
<a href="Bs_Article_edit.asp?ArticleID=<%=rs("articleid")%>">修改</a>
<a href="Bs_Article_Del.asp?ArticleID=<%=rs("ArticleID")%>&Action=Del">删除</a>
</td>
</tr>
<%
i=i+1
if i>=MaxPerPage then exit do
rs.movenext
loop
%>
</table>
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="250" height="30"><input name="chkAll" type="checkbox" id="chkAll" onclick=CheckAll(this.form) value="checkbox">
选中本页显示的所有产品</td>
<td><input name="submit" type='submit' value='删除选定的产品' <%if session("purview")>=3 and session("purview")<=4 and PurviewChecked=False then response.write "disabled"%>>
<input name="Action" type="hidden" id="Action" value="Del"></td>
</tr>
</table>
上面是从数据库里一项项读出来,然后再显示,可以单项修改或删除,我把ID传过去了。。
但是现在要多项一起删,怎么传参数过去?因为无论带?或用session一次都只能传一个ID。。
我自认为是用个循环把选中的循环传过去一个个删,怎么实现,有高人帮下吧。。小D太菜了。。