MVC project templates will do that out of the box. Just setup the Model and let the template do the rest. It won't be pretty, it won't have validation, etc, but you can do exactly what you described.
>The problem (in my view) with all these samples or tutorials is they create a "typical" web application; like for example, online store. My use of the application is "simulating" windows application in the web UI. For example, for me it would be very helpful if they would create a simple tutorial/walk through that would do the following:
>1. Get records from a database for a table
>2. Display these records in a grid view
>3. Allow user to select a record, click on Edit button and display the record in the Detailed View (my records have so many columns that editing in the grid is not easy).
>4. User makes a change to the record and clicks on Save or somehow saves the record.
>
>The above (in a simplified way) is what I have to do in my application a lot.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer