By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,649 Members | 1,490 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,649 IT Pros & Developers. It's quick & easy.

delete multiple record at a time

P: 1
i am showing records from database n i assign the record id as check box name. now i want to delete all records which i selected by checking the check box. my problem is similar to what we do with email in inbox we select email and then click on delete a fter cliking all selected emails are deleted same type of work i wanna do in my project....plz help me how can i do that??
Mar 31 '13 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
First first the list of all selected Ids in your code by looping through the selected checkboxes then pass that list to a delete from tableName where id in (... statement.
Mar 31 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.