ASP.NET web page (that saves data to database )generation using MVC model
I am working on the development of a web page that has few fields whose data can be saved in database using SQL Server.I am unable to understand the role of MODEL and controller.I have already designed the aspx page,created a database with a corresponding table and performed the database connection usind ADO.NET Entity Model.Please help me with the code for the model and controller and what refereneces have to be added in what sequence amongst VIEW,MODEL and CONTROLLER?
ASP.NET web page (that saves data to database )generation using MVC model
===

I am working on the development of a web page that has few fields whose data can be saved in database using SQL Server.I am unable to understand the role of MODEL and controller.I have already designed the aspx page,created a database with a corresponding table and performed the database connection usind ADO.NET Entity Model.Please help me with the code for the model and controller and what refereneces have to be added in what sequence amongst VIEW,MODEL and CONTROLLER?