The You didn’t manually write any code to interact with the database in this exercise, but you got a lot of functionality simply by dragging and dropping a database table.To see how it works, take a look at the source that VS generated.NET that allow you to easily create websites for working with the create, read, update, and delete (CRUD) operations of an entire data model that exists as either a Data Context (such as LINQ to SQL) or an Object Context (such as LINQ to Entities).To complete the lessons in this chapter, you should be familiar with developing applications with Microsoft Visual Studio 2010 by using Microsoft Visual Basic or Microsoft Visual C#.The Details View supports both declarative and programmatic databinding.Details View control supports the edit, insert, delete and paging functionality.The Grid View 'Grid View1' fired event Page Index Changing which wasn't handled.The Grid View 'Grid View1' fired event Sorting which wasn't handled.
Another important property of Detail View control is Pager Settings.The example shown here is for a Grid View, but the same types of event handlers must be implemented in roughly the same way for other data controls including the Form View, Details View, and List View. This is the final Grid View markup, so you can see the event handlers we’re going to implement.We’ll start with binding data to the Grid View, then build up functionality from there.Detail View is one of the important control, that is mainly used in master-detail scenario.You select the record from master control (as example Grid View) and selected record is displayed in Detail View control.NET that allow you to easily create websites for working with the CRUD operations of an entire data model that exists as either a Data Context (such as LINQ to SQL) or an Object Context (such as LINQ to Entities). NET provides several server controls that build on top of the features of Microsoft ADO. These controls simplify the development of data-driven websites.