how to delete record according to the checked checkbox.

Discussion in 'XML' started by -_-, Dec 19, 2009.

  1. -_-

    -_-

    Joined:
    Dec 19, 2009
    Messages:
    11
    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
    -_-, Dec 19, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthew Louden

    checkbox checked change event question

    Matthew Louden, Nov 18, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    5,381
    Teemu Keiski
    Nov 18, 2003
  2. RodBillett

    Always One checkbox checked

    RodBillett, Dec 4, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    1,237
    bruce barker
    Dec 4, 2003
  3. yurps
    Replies:
    1
    Views:
    6,864
    rajeshthangarasu1983
    Feb 29, 2008
  4. Sam

    Delete Record using checkbox in Gridview in c#

    Sam, Apr 25, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    183
  5. randy
    Replies:
    13
    Views:
    433
    Tad McClellan
    Nov 1, 2003
Loading...

Share This Page