I am studying ASP.net MVC Framework.
After I reading this article, I can list all data to View via my database.
Then l like Repository pattern which is not too difficult to study according to that article.
But what I really would like to do is I want to insert data to database via my View.
So I am searching for a way how to do by using ASP Net MVC , Linq to sql and Repository pattern.
So, Could anyone please give me any suggestion or references to learn?
See http://www.asp.net/mvc.
Also take a look at full apps like the music store and nerd dinner.
If you have the latest asp.net-mvc3, when you add a new controller you have a templating feature that will write some basic CRUD code based on an Entity Framework model.
Try it and have a look at the code, its an excellent example.