SunQuest
 
       ASP.NET
  Home arrow ASP.NET arrow Behold the Power of the DataGrid!
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Behold the Power of the DataGrid!
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 26
    2004-05-03

    Table of Contents:
  • Behold the Power of the DataGrid!
  • What on Earth is a DataGrid?
  • Data Binding
  • Who Wears Sort Sorts?

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Behold the Power of the DataGrid!


    (Page 1 of 4 )

    This article will convince you that it truly is time to make the switch over to .NET. I will explain how one component could simplify our programming lives to a hardly fathomable extent. Microsoft has put a lot of thought into this RAD approach to hooking our applications to a database, delivering to us the DataGrid. I will explain how to use a DataGrid in its naked form, as well as with some formatting, and finally how to sort the data.

    Introduction

    As I was studying and learning about these new-fangled components introduced by ASP.NET called Server Controls, it was as if things just kept getting better and better. Seriously, I am the type to give credit where credit is due, and I just have to say "well done" to MS on this one. You see, the HTML and Validation controls are pretty cool. The state-full behavior of a Web control is really cool. Then I got to the data-bound controls -- they are extremely cool.

    I was thrown back in time to the first inventory application I worked on. If only I had the option of using .NET, I could have saved so much time! So many repetitious and tedious lines of ASP code to provide both simple and advanced functions, all of which are encapsulated in these pre-built controls. A few simple lines give us options that are anything but simple.

    Of all the server controls, the most impressive to me was the DataGrid. Although it belongs in the data-bound controls family, I must say that it blows away the Repeater or DataList controls in power and versatility. While those two have their uses, I am going to concentrate on the usefulness of the DataGrid in this article, and I'm going to have to do two articles to even do it justice! Hmm, my wife says that I have a tendency to build things like movies up way too much, and then they're not as great as I made them sound (UHF for one). So, at risk of building this up too much, let's just get to the point!

    More ASP.NET Articles
    More By Justin Cook


     

    ASP.NET ARTICLES

    - Enhancing PHP Via the ASP.NET AJAX Framework...
    - Enhancing PHP Programming with the ASP.NET A...
    - Classes and ASP.NET AJAX
    - Using ASP.NET AJAX
    - Building a Simple Storefront with LINQ
    - Developing a Dice Game Using ASP.NET Futures...
    - Completing an ASP.NET AJAX Server-Centric Ba...
    - Information Management for an ASP.NET AJAX S...
    - Comment and Order Management for an ASP.NET ...
    - Back-end Management Tasks for an ASP.NET AJA...
    - User Information Management for an ASP.NET A...
    - Adding Comments and Search to an ASP.NET AJA...
    - Order-Related Modules for an ASP.NET AJAX Se...
    - User and Role Management for an ASP.NET AJAX...
    - Programming an ASP.NET AJAX Server-Centric B...

    Iron Speed




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway