how to delete record according to the checked checkbox.

-_-

Joined
Dec 19, 2009
Messages
11
Reaction score
0
how can i create add/delete/edit record in jsp?
is it feasible to create datagrid like asp.net function??

my code is as belows:
---------------------------------------------------------------

<tr><td><%=rs.getString(1) %></td>
<td><%=rs.getString(2) %></td>
<td><%=rs.getString(3) %></td>
<td><center><input type="checkbox" name="del" value="${del.id}" ></center></td></tr>
---------------------------------------------------------------

I want to check which item is ticked, then the user click a button to delete that record.but now i can't get which record is ticked
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top