WorldofASP.NET : ASP.NET Directory, Tutorial, Hosting, and Source Code
You are 1 of 124 users


WorldofASP.NET >> ASP.NET >> Custom Controls

Using GridView Controls in ASP.NET 2.0

GridView is a new control being introduced in ASP.NET 2.0 to replace the DataGrid Control
Published Date : 25 Sep 2007
Author : Sanjay Shravan
Language : VB.NET,C#
Platform : .NET
Technology : None,Visual Studio,ASP.NET
Views : 15911
Rating : (0 votes so far)



Introduction

The ASP.NET 2.0 framework introduces new control for working with database data. In ASP.NET 1.0, we are normally using DataGrid, Repeater, and DataList. With this control, you could display an entire collection of data, easily add sorting and paging and perform inline editing. Although this new functionality was great, however developer still need to write a significant amount of code to properly displaying their data in DataGrid.

Now in ASP.NET 2.0, Microsoft has introduced new control which is called GridView. The GridView control is the successor to the DataGrid control. While Microsoft ASP.NET 2.0 still includes the DataGrid control, you are encouraged to take advantage of the new features of the GridView control.

The GridView control enables you to perform many of the same tasks as you would previously perform with the DataGrid control. The advantage of the GridView control is that, in many cases, you can perform these tasks without writing any code. The GridView control enables you to:

1. Display a set of database records.
2. Sort a set of database records.
3. Page through a set of database records.
4. Edit a set of database records.

In addition, unlike the DataGrid control, the GridView control enables you to sort and page through database records without requiring a postback to the server. The GridView control, optionally, uses client-side script to enable you to sort and page database records without performing a form post.

Using the GridView Control

Start Using the GridView Control by dragging the control onto the designer surface of an ASP.NET Web Page.


    Tag Cloud
      xhtml-mp asp.net   asp.net listbox control   httpwebrequest httpwebresponse   generate random number asp.net   feedback form in asp.net   asp.net httpwebrequest   encrypt querystring in asp.net   checkboxlist datasource   httpwebrequest .net   ajax updatepanel button   asp.net url parameters   asp.net upload ajax progress   asp.net encryption   httpwebrequest in asp.net 2.0   httpwebrequest vb.net   asp httpwebrequest   create httpwebrequest   httpwebrequest   formview asp.net   asp.net file upload progress   asp.net cookie shopping cart   contact us asp.net   asp.net pass data from one page to another   edit update insert in a gridview c#   asp.net activate user   formview displaying inserted data   tooltip asp.net   asp.net delegate   httpwebrequest asp.net c#   upload file progress bar asp.net   asp.net file upload progress bar   frames image gallery thumbnails asp.net   httpmodule httphandler   httpwebrequest create   "javascript in asp.net"   cannot start service from the command line or a debugger. a windows service must   datalist control   asp.net cookies encryption   smart device application   httpwebresponse   form view in asp.net   asp.net tooltip   asp.net random number   cannot start service from the command line or a debugger





    Other Related and Popular Articles :


    Author Profile : Sanjay Shravan

    Click here to view Author Profile


    How would you rate the quality of this content?
    Poor Excellent

    Comments

    Leave New Comments


    Article Content copyright by Sanjay Shravan
    Everything else Copyright © by WorldofASP.NET 2008

    Category
    .NET 3.5
    AJAX and ATLAS
    ASP.NET
    C# Programming
    Classic ASP
    Enterprise Systems
    General .NET
    VB.NET Programming
    Announcements
    Earn Cash by writing an article or review
    For more info Click here







    Legend : - Within 3 Days - Within 6 Days - Within 9 Days

    Home | Add Resources | Sponsored Listings | Advertise with Us | SiteMap 1 | SiteMap 2 | Link To Us | Contact Us
    © 2002-2008 Worldofasp.net ASP.NET Directory, Hosting and Tutorials | All rights reserved
    Our Partners : ASP.NET Web Hosting | Windows Web Hosting | ASP.NET Hosting | Phone Card | PHP Directory | Bangkok Hotels |Calling Card