delete multiple record at a time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arushna mehar
    New Member
    • Mar 2013
    • 1

    delete multiple record at a time

    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??
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    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.

    Comment

    Working...