Friday, 18 November 2016

DataGrid and GridView in ASP.NET



short courses in Rawalpindi.

ASP.NET version 1.x have one most commonly used Web controls that is Data Grid. Data Grid control helps to display data on an ASP.NET page just like a breeze. Technical Data used in the field explained in short courses in Rawalpindi. we can simply drag and drop the Data Grid on our webpage, we can also specify columns/fields and we can also format that fields and columns. There are some feature of Data Grid that's helps end user to page, sort, and even edit the data within the Data Grid.
After that Data Grid takes a huge improvement over pre-ASP.NET techniques for showing data, But have some limitations till now. For starters, binding any data to a Data Grid still required some code to written, and often repetitive code at that. And something more that how to utilize any of the Data Grid more advanced features-handling deletes, providing pagination, or sorting support-required additional code and time. Some more details of short courses in Rawalpindi are as under.
ASP.NET 2.0 grenade some facility to fixes the problems of the Data Grid through a set of data source controls designed to manage data that can be bound to data Web controls, and a replacement the Data Grid with Grid View control. For accessing data in ASP.NET 1.x, developers need some code. With the help of data source controls, data can be easily accessed through simple syntax in the HTML portion of the ASP.NET Web page. The data source controls can be added to a page by simply drag and drop. And, the specific data to retrieve can be specified entirely through the Design view. Once a data source control should configured, it can be easily bound to a data Web control, just like Grid View, by setting the data Web control's Data Source ID property to the ID of the data source control.
Data source controls in ASP.NET 2.0 access data with quicker and easier with compare to to ASP.NET version 1.x.GridView also makes showing that data much simpler than with the DataGrid in ASP.NET version 1.x. With the Grid View you can specify that the data be sortable and/or page able by simply checking a checkbox. This process is also when Delete column. TSK Training for Skills and Knowledge is the best institute in Rawalpindi Islamabad for Pakistani Students who wants to join short courses in Islamabad.


No comments:

Post a Comment