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  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
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


    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

    - Develop Your First ASP.NET Website with Visu...
    - Run ASP.NET in Windows XP Home with Cassini ...
    - How to Test a Web Application
    - How to Add Code and Validation Controls to a...
    - Working in Source and Split Views to Build a...
    - How to Build a Web Form for a One-Page Web A...
    - How to Develop a One-Page Web Application
    - An ASP.NET Web Application in Action
    - Developing ASP.NET Web Applications
    - An Introduction to ASP.NET Web Programming
    - Introduction to the ADO.NET Entity Framework...
    - Completing an In-Text Advertising System und...
    - Programming an In-Text Advertising System un...
    - Building an In-Text Advertising System Under...
    - Developing a Mini ASP.NET AJAX Server Centri...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    Stay green...Green IT