Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am working on a form that has 6 input textboxes like ID,Name etc etc. The data is saved in SQL2005 and is showed in datatable on same page. i have delete button in front of each row which is working great. now i have put a checkboxes in front of each row to delete multiple records at once. i am able to check all checkboxes but i dont know how to tell computer to delete all that is checked.
Posted
Updated 11-Sep-13 6:56am
v2
Comments
Richard C Bishop 11-Sep-13 12:31pm    
In your delete command, you will need to check which ones are checked and apply the delete command to those only.
ismail khan 11-Sep-13 12:41pm    
is there any javascript to check which one are checked.?
Richard C Bishop 11-Sep-13 12:46pm    
document.GetElementByID('checkbox').checked

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900