advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
What do you think of the new GridView control? Do you still prefer DataGrid? Tell us in our ASP.NET Forum.
Partners & Affiliates
advertisement
advertisement
advertisement
Average Rating: 2.6/5 | Rate this item | 150 users have rated this item.
 

Using the New GridView Control in ASP.NET 2.0

Of all the improvements made in the release of ASP.NET 2.0, the most important by far is the ability to let the controls perform most of the work for you. Learn how declaratively configuring the new GridView control allows you to get more work done with less code! 


advertisement
he DataGrid control is one of the most powerful controls in ASP.NET 1.x. It's highly customizable and most Web developers are familiar with it. However, although the DataGrid control is still supported in ASP.NET 2.0, it requires too much work for mundane tasks such as sorting the rows based on columns, editing or deleting rows, etc.

Figure 1. The Controls: The GridView and DetailsView controls under the Data tab in the Toolbox.

In this latest release of ASP.NET, the GridView control further enhances the flexibility of the previous DataGrid control. This article shows how to use the GridView control and demonstrates how it reduces the amount of code you need to write. In fact, for the examples in this article, there is no code to write! You will also learn a bit about GridView's companion control, DetailsView.

Figure 1 shows the GridView and DetailsView controls found under the Data tab in the Toolbox.

  Next Page: Configuring the SqlDataSource Control
Page 1: IntroductionPage 3: Configuring the GridView Control
Page 2: Configuring the SqlDataSource ControlPage 4: The DetailsView Control
Please rate this item (5=best)
 1  2  3  4  5
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs