The downloadable code works with Visual Studio 2012 and later. You can download the complete project in C# or Visual Basic. In the next tutorial, you will set values for UpdateMethod, DeleteMethod and InsertMethod. Within that method, you provide the logic for retrieving the data. In this tutorial, you will specify a value for the SelectMethod. From a data-bound server control, such as a GridView, ListView, DetailsView, or FormView control, you specify the names of the methods to use for selecting, updating, deleting, and creating data. In this tutorial, you will use Entity Framework, but you could use the data access technology that is most familiar to you. The model binding pattern works with any data access technology. This series starts with introductory material and moves to more advanced concepts in later tutorials. Model binding makes data interaction more straight-forward than dealing with data source objects (such as ObjectDataSource or SqlDataSource). This tutorial series demonstrates basic aspects of using model binding with an ASP.NET Web Forms project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |