+ Start a Discussion
DurgaPrasadChowdaryDurgaPrasadChowdary 

Deleting multiple records on a page block table by selecting records through check boxes........

Hi,

    I just created a vf page to display the records of an object...and i add check boxes to that page block table to select multiple records and need to delete it by click the command button "delete".

  can any one give  hint for apex code to delete the selected records....

bob_buzzardbob_buzzard

How are the checkboxes related to the records in the table?  Have you used a wrapper class to combine the two?

SforcehariSforcehari

Hai durga,

 

   please go through the links,

 

             http://flexandsalesforce.blogspot.com/2011/07/inserteditdeleteclone-records-for.html

 

            http://wiki.developerforce.com/index.php/Wrapper_Class

 

Regards,

Haribabu