How can I get the contents of my table with dynamic row adding?

Posted by user359706 on Stack Overflow See other posts from Stack Overflow or by user359706
Published on 2010-06-09T12:12:02Z Indexed on 2010/06/09 12:22 UTC
Read the original article Hit count: 144

Filed under:
|

how to retrieve from the server-side contained a table html constructed this way:

<table id="myTable">
<tr>
    <th> <input type="text"> name </th>
    <th> <input type="text"> quantity </th>
</tr>
<tr>
    <th> <input id="name_1"> phone </th>
    <th> <input id="quantity_1"> 15 </th>
</tr>
<tr>
    <th> <input ="name_2"> id mp3 </th>
    <th> <input id="quantity_2"> 26 <</th>
</tr>
...

I can not make use of <asp:Table> ... because for technical reasons I did not find a solution following this post: http://stackoverflow.com/questions/3003912/how-to-dynamic-adding-rows-into-asp-net-table

How can retrieve the contents values of my table (dynamic) for each row. Rows will be added in client-side js

Thank you.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET