Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 20th, 2005, 10:12 AM
Registered User
 
Join Date: Jul 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to cilynx
Default Advanced DataGrid from Excel Source

I've got an Excel table which is edited by a lot of people who don't care about databases and want to stick with Excel. It's about 60 columns wide and more than 100 rows long. This table needs to be displayed on our website.

I've already got the databind and extremely basic presentation down via:
http://support.microsoft.com/kb/306572/EN-US/

I'm now faced with two problems:

First: Is there any way to page across columns the same way you can page through rows? As of now, I'm working on my own control using logic along the lines of:

if( (colNum > (pageWidth * (pageNum - 1)) && (colNum <= (pageWidth * pageNum) ) { display(colNum) }

To get this idea working, I need to figure out custom postbacks, but that's academic...


Second: Some of the entries in the table are hyperlinks. I know DataGrid supports HyperLinkColumn's, but everything I can find wants to build them out of two separate columns in the dataset. If I just read the column directly into a HyperLinkColumn, all I get is the text, not the URL. Any ideas?

Thanks in advance.

   -r





Similar Threads
Thread Thread Starter Forum Replies Last Post
exporting to excel from datagrid hotshot_21 ASP.NET 1.0 and 1.1 Basics 2 June 9th, 2006 08:53 AM
Pivot tables in Excel with cubes as data source boson SQL Server 2000 2 January 28th, 2005 07:16 AM
Updating SQL DB from Excel Source Arsi SQL Server 2000 4 August 30th, 2004 12:46 PM
Excel as Data Source bmains ADO.NET 2 February 5th, 2004 04:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.