Thank u Dan, ya it written all the check box values(including not selected) with comma. i have post this page to the same page is there any problem with that ? this is my code:
<% Var1=request("hid1") SQL="delete from updown where ID IN ('"&Var1&"')" cn.execute SQL response.write Var1 while not rs.eof a=rs(0) %> <tr> <form name=frm method="post" action="recordsview.asp"> <td> </td> <td><input type="checkbox" name="delfile" value=<%=a%></td> <td><%=rs(0)%></td> <input type=hidden name=hid1 value=<%=rs(0)%>> <td><%=rs(1)%></td> <td><%=rs(2)%></td> <td><%=rs(3)%></td> <td><%=rs(4)%></td> <td><%=rs(6)%></td> </tr> <% rs.movenext wend %> Thanks jegatha --------------------------------- Enjoy this Diwali with Y! India Click here [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/