Print Page | Close Window

Get Rows

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=1055
Printed Date: 29 March 2026 at 8:34pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Get Rows
Posted By: Dazz
Subject: Get Rows
Date Posted: 16 March 2003 at 4:10am

How can I get a certain row from a database according to a querystring value.

page.asp?id=5

If the string was the same as above I would like to retrieve row 5 from the database and then display certain values in that row.

How can I do this?




Replies:
Posted By: MorningZ
Date Posted: 16 March 2003 at 10:37am
is the Querystring value of "5" a number that corresponds to a unique key in the database?

-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: Dazz
Date Posted: 16 March 2003 at 11:10am
Yes it corresponds to an autonumber field called ID which is set as the primary Key.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net