Submit Data to a datatable from a View MVC

Posted by user54197 on Stack Overflow See other posts from Stack Overflow or by user54197
Published on 2010-04-01T15:27:29Z Indexed on 2010/04/01 15:33 UTC
Read the original article Hit count: 286

Filed under:
|
|
|
|

I have a view that I would like to populate data when the next button is clicked. It is 3 Views which will send data on every next button. How do I do this?

Below is code I just made up, but should give an idea of what I am looking for.

Page 1:

    <table>
    <tr>
        <td><b>Name:</b></td>
        <td colspan="2"><input id="txtName" type="text" /></td>                        
    </tr>
    </table>
    <input  type="submit" value="Next" />

Page 2:

    <table>
    <tr>
        <td><b>Address:</b></td>
        <td colspan="2"><input id="txtAddress" type="text" /></td>                        
    </tr>
    </table>
    <input  type="submit" value="Next" />

Page 3:

    <table>
    <tr>
        <td><b>Phone:</b></td>
        <td colspan="2"><input id="txtPhone" type="text" /></td>                        
    </tr>
    </table>
    <input  type="submit" value="Next" />

© Stack Overflow or respective owner

Related posts about c#

Related posts about asp.net-mvc