Hari kanna
Hari kanna

Reputation: 2521

CRUD operation in JSP

  1. How to loop a checkbox when data is retrieved from table in a database?

  2. How to populate a pop-up window when checkboxes are checked in a table to update the table?

Upvotes: 0

Views: 1015

Answers (1)

Harry Joy
Harry Joy

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

Related Questions