Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 May 26th, 2005, 01:04 PM
Registered User
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jlippiner Send a message via Yahoo to jlippiner
Default Display dB results in pyramid with asp.net 2.0

Hello,

I am trying to display the results returned from my SQL call to the user in a pyramid format with 1 in the first row, 2 in the second and 3 in the third. If there are more than 6 records returned, I dont want to show them.

I guess the general question is WHAT is the best way to control the formatting and positioning of each record returned from a database using asp.net 2.0? For example, I might also want to change the properties of the first record returned, then the second, etc.

I was thinking of using a repeater control but how could I see what number I am on? If I could determine that I was on record #3 returned, I might be able to use some code to set up how to display it. Or, how can I add a bunch of controls (assume a textbox) to the page in a number of places and have each one associated with a different record returned from the database (i.e. textbox1 associated with record returned #1, textbox2 associated with record returned #2, etc)

Thanks,

Josh






Similar Threads
Thread Thread Starter Forum Replies Last Post
Asp.Net 2.0 instant results Sql Server connectivty shoakat BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 5 June 6th, 2007 12:24 AM
Blog project in Asp.net 2.0 instant results sriniblog ASP.NET 1.0 and 1.1 Basics 0 December 14th, 2006 05:44 PM
Errata available for ASP.NET 2.0 Instant Results Imar BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 0 July 31st, 2006 03:18 PM
Display results from DB as hyperlinks webby Classic ASP Basics 3 October 23rd, 2004 11:31 PM





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