Model binding with ASP.NET 4.5 and Visual Studio 2012 | DotNetJalps

added by jalpesh
7/16/2012 1:49:28 PM

0 Kicks, 131 Views

In earlier version of the asp.net we have to bind controls with data source control like SQL Data source, Entity Data Source, Linq Data Source if we want to bind our server controls declaratively. Some developers prefer to write whole data access logic and then bind the data source with databind method. Model binding is something similar to asp.net mvc binding. Model Binding in ASP.NET 4.5 and Visual Studio 2012: With ASP.NET 4.5 and Visual studio 2012 we have a new method of binding data called ‘ Model binding’. It’s a code focus approach of data binding. Just like now all the controls will have ItemType property which will implement strongly type binding. The server controls will then call appropriate methods at the proper time in page life cycle and bind the data.


0 comments