Reputation: 2521
How to loop a checkbox when data is retrieved from table in a database?
How to populate a pop-up window when checkboxes are checked in a table to update the table?
Upvotes: 0
Views: 1015
Reputation: 59690
Give checkboxes value of database id and on clicking on edit link check for the id and get the data for that id from database in popup. Now that you have id of raw you can easily update the data.
<input type="checkbox" id="db_id" value="<%=db_id_value %>"/>
Hope you understand.
Upvotes: 1