2013年10月31日星期四

Achieve bulk delete code behind

Batch Delete checkbox selected objects , select an individual when it was removed , is bulk delete multiple selected ! No idea , I do not know how to write the background . . Remove the single and bulk delete written in the same way in the good ? Or separately written ? Find code ~
------ Solution - -------------------------------------------
delete multiple direct support months , public int delete (List ids);
------ Solution ----------------------- ---------------------
a method returns an array in the past even
------ Solution -------- ------------------------------------
id you want to delete the background of the package to the list , the then loop delete
------ For reference only ----------------------------------- ----


do not understand why the parentheses after preaching at List? Not so written . .
------ For reference only -------------------------------------- -

  
do not understand why the parentheses after preaching at List? Not so written . .  
you is to write code behind , right ? Code behind it is not your own control ?

------ For reference only ---------------------------------- -----
background writing method . loop through your ID is not passed in just fine. ~ ~ ~ Pass a deleted one . More will cycle way.

没有评论:

发表评论