Table need help

i have a table in my page in a following format when i click the buuton it add another row of data insertion how can i do it plz help[ me.
Seq.NO code DESCRIPTION
1 somedata somedata BUUTTON



Comments

  • : i have a table in my page in a following format when i click the buuton it add another row of data insertion how can i do it plz help[ me.
    : Seq.NO code DESCRIPTION
    : 1 somedata somedata BUUTTON
    :
    :
    :
    :
    MORE INFORMATION NEEDED from where you load ur data into table?
    here I suppose you load them from a database....when you click the button the data will be inserted in the database and the page will be refreshed
    then in ur jsp page you must have following code
    <%
    ArrayList tableData = db.getMyData();
    for(int i=0 ; i<tableData.size() ; i++)
    {
    myData = tableData.get(i);
    %> <%
    }
    %>
    <%= myData.part1 %> <%= myData.part2 %>
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion