All source code in ASP/ VbScript Ask a ASP/ VbScript Pro Discussion Forum Categories All jobs in ASP/ VbScript
Quick Search for:  in language:    
ASP,After,playing,with,NETs,Data,Grid,figured
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
ASP/ VbScript Stats

 Code: 262,309. lines
 Jobs: 26. postings

 How to support the site

 
Sponsored by:

 
You are in:
 
Login


 

 


Latest postings for ASP/ VbScript.
Click here to see a screenshot of this code!My To Do List
By Teddy Campos on 6/9

(Screen Shot)

Mailinglist System Version 2
By Naing Win on 6/3


Bar Graphics asp
By Alberto Rivera Chávez on 6/8


ASP Array to CSV string
By Julian Lannigan on 6/8


Click here to see a screenshot of this code!MP3Bits
By Joc on 6/7

(Screen Shot)

Click here to see a screenshot of this code!Comersus Free ASP Shopping Cart
By La Rocha (Comersus) on 5/14

(Screen Shot)

Click here to see a screenshot of this code!BB Ballgame League Site
By Brian Battles WS1O on 6/5

(Screen Shot)

Click here to see a screenshot of this code!Buy & sell (dynamic market)
By Mikael on 8/4

(Screen Shot)

Remove item from querystring
By Vladimir Miho on 6/2


Click here to see a screenshot of this code!simple guest Book
By Joe Villalobos on 5/31

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites




Other Programming Sites
 Code Project
 Developers Dex
 Developer Fusion
 Programmer's Heaven
 Tek-Tips Forums

 DevGuru
 Scripts
 VisualBuilder.com
 Web Design
ASPAlliance
 What is XML?
 XML Pitstop
 Your HTML Source
 ZVON.ORG
 
 
   

DataGrid Class

Print
Email
 
winzip icon
Submitted on: 10/9/2002 12:21:05 PM
By: Nick DelMedico  
Level: Intermediate
User Rating: By 29 Users
Compatibility:ASP (Active Server Pages), HTML

Users have accessed this code 24857 times.
 
 
     After playing with ASP .NET's Data Grid, I figured I'd create something similar for use with ASP. I've begun by creating the properties and methods to reproduce the most commonly used and useful features of .NET's data grid. Easy to run examples included. Updated 10/28! 2nd version which allows column headers to be rendered as sort by links. Updated 12/27! Now can customize error message and display. Updated 2/21! Class optimized.
 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

    '**************************************
    ' for :DataGrid Class
    '**************************************
    See ReadMe.txt
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 3 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
10/10/2002 1:03:47 AMMark Focas

This is extremely nice code. Well done.
(If this comment was disrespectful, please report it.)

 
10/10/2002 5:20:55 AM

Superb! 5 globes from me. Adding field update functionality would be even better.
(If this comment was disrespectful, please report it.)

 
10/10/2002 7:43:21 AM

Well documented, pretty impressive. But will you have a new version to update/add a record just like the ASP.Net datagrid?
(If this comment was disrespectful, please report it.)

 
10/10/2002 11:28:59 AMmike

Very good work. "Excellent" vote from me.
Needs a property or method for including a link allowing selection of individual records from the grid for further processing.
(If this comment was disrespectful, please report it.)

 
10/11/2002 1:30:58 AMNick DelMedico

Now has methods to render values as links and properties to style them.
(If this comment was disrespectful, please report it.)

 
10/11/2002 5:35:56 AMAntonio Rodrigues

eXcelent code!!!
You've scored another 5 Globe, dude :)

Have more components?

(If this comment was disrespectful, please report it.)

 
10/18/2002 6:15:46 PM

Great class It would be nice to have a HeaderLinkClassName property To make links out of the column headers
(If this comment was disrespectful, please report it.)

 
10/18/2002 6:18:05 PM

Nm looks like it is already there in the methods.
(If this comment was disrespectful, please report it.)

 
10/19/2002 6:52:45 AMRandy McCleary

Hey, good job on the this script. It works perfect and will come in handy for many different things. This code gets a 5 from me. Great work, and keep up the good job.
(If this comment was disrespectful, please report it.)

 
10/24/2002 7:32:10 AM

Good work!
(If this comment was disrespectful, please report it.)

 
10/26/2002 1:26:25 AMJohn Manavalan

thanks 5* from Me
(If this comment was disrespectful, please report it.)

 
11/19/2002 10:23:56 AMEd Ruth

Excellent Code. 5 stars from me. Really useful!
(If this comment was disrespectful, please report it.)

 
11/20/2002 5:51:11 AM

Hey, what's this? R U kidding!! This is a super excelent plus Class!! You get 6 stars out of 5!! YEeees.
(If this comment was disrespectful, please report it.)

 
2/14/2003 7:04:07 PMBrio Networks

Excellent! Thanks for sharing.
(If this comment was disrespectful, please report it.)

 
3/12/2003 11:47:38 PM

Great grid... something that can be used without tweaking
(If this comment was disrespectful, please report it.)

 
3/14/2003 2:42:28 PMChris

Awesome Grid Class. I love ASP Classes that just plug right in. Has anyone enhanced this any (sorting, edting, adding)?
(If this comment was disrespectful, please report it.)

 
7/3/2003 10:58:15 AM

Very useful.
Thanks for sharing it!
(If this comment was disrespectful, please report it.)

 
9/29/2003 10:08:48 PM

ES UNA VERGA.... ANDA COMO QUIERE EL TEMA DEL AUTOGENERATECOLS
(If this comment was disrespectful, please report it.)

 
10/22/2003 2:45:01 AM

Excellent, but is there anyway to add new functionality like add a new row,delete row
(If this comment was disrespectful, please report it.)

 
1/23/2004 8:41:41 PMManoj

Very Nice Class. It would be nice if you can add hyperlink which can take some other parameter too. Also, Seems like Column name are case sensitive. It would be nice to make case insensitive

(If this comment was disrespectful, please report it.)

 
4/15/2004 5:17:57 PM

This is an excellent class. I agree that adding select, insert, delete and update functionality would be a great addition, but it works very well as is.
(If this comment was disrespectful, please report it.)

 
5/7/2004 6:10:53 AM

I agree with everyone else, this is indeed a very useful class. IMO Adding tooltips/titles to the links will make them more intuitive. I've edited my instance of the class to include a simple title i.e. "Edit" or "Search the Web"
(If this comment was disrespectful, please report it.)

 
5/8/2004 3:56:55 AM

OCX Control is very usefull
Sunilkumar Shinde
SunC India
www.suncindia.com
(If this comment was disrespectful, please report it.)

 
4/27/2005 5:51:39 AMBrian Battles WS1O

This is very nice, I give it "4"...I would have given it "5" if it included add/edit/deleting records! :-)
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | ASP/ VbScript Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997-2006 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.