Building a DataGrid Helper Control For ASP.NET 1.x: Part 1
page 1 of 5
Published: 16 Jun 2004
Unedited - Community Contributed
Abstract
The DataGrid control in ASP.NET 1.x is a very powerful control. However, it still requires the understanding of the life cycle of ASP.NET as well as many lines of code to create a functional data access page. Much of coding related to DataGrid control is repetitive in nature. In this series of articles, we will develop a custom control that will drastically simplify the DataGrid programming in ASP.NET 1.x today. In the first installment of this series, we will discuss how to simplify the programming of a read-only data access page.
by Li Chen
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 64279/ 68

Introduction

[Download Code] 
The DataGrid control in ASP.NET 1.x is a very powerful control. However, it still requires the understanding of the life cycle of ASP.NET as well as many lines of code to create a functional data access page. Much of coding related to DataGrid control is repetitive in nature. The upcoming ASP.NET 2.0 has a new GridView control and several data source controls. Using the GridView control and one of the data source controls, it is possible to build a data access page without writing a single line of code. In this series of articles, we will develop a custom control that will drastically simplify the DataGrid programming in ASP.NET 1.x today.  In the first installment of this series, we will discuss how to simplify the programming of a read-only data access page.

 

In this article, we will first examine a typical data access page to identity the code that we can simplify. Next, we will build a control that allows us to simplify the DataGrid programming.  We will then show how to use this control and conclude this article. 

 

Now, let us take a look of a typical data access page.


View Entire Article

User Comments

Title: DataGrid   
Name: Anita
Date: 7/30/2007 2:01:28 PM
Comment:
Very Good
Title: Confusing   
Name: Anees
Date: 10/5/2006 1:04:44 AM
Comment:
Its confusing for Begginers.
Title: Atish.netExpress   
Name: Atish J
Date: 9/1/2006 6:05:32 AM
Comment:
Ver nice .......!
Title: datagrid   
Name: shailendra
Date: 9/1/2006 2:18:27 AM
Comment:
good
Title: Good   
Name: Prashant Raizada
Date: 7/27/2006 4:40:54 AM
Comment:
Good job!!!
Title: Testing Form   
Name: BinDev1998
Date: 9/21/2004 11:53:35 PM
Comment:
This is Cool!
Title: good!   
Name: Region
Date: 8/9/2004 1:59:31 AM
Comment:
Is Like My Grid
Title: NICE   
Name: Raghuraman
Date: 8/7/2004 3:12:19 AM
Comment:
a nice walk thru
Title: Not Bad   
Name: Tarzan from Zimbava
Date: 8/7/2004 2:46:39 AM
Comment:
It's a good article for Asp starters
Title: good   
Name: gayathri
Date: 8/7/2004 1:41:33 AM
Comment:
good
Title: good   
Name: ramu
Date: 6/28/2004 4:15:35 AM
Comment:
good article

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2014 ASPAlliance.com  |  Page Processed at 4/23/2014 10:21:59 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search