Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : ASP : ASP 3.0 : ASP Basics!!!! Signup · Login
Author Thread
ASP Basics!!!!
Posted in tutorial: Basic Active Server Pages Tutorial for beginners
·  Bosky
UserUser
Joined: 20 Dec 2002
Total Posts: 11
ASP Basics!!!!
Posted: 5 Mar 2003
Hello,

Is it possible to change the display the contents of an HTML page on basis of selection of a particular field.

I have an xyz.asp page which fetches names of users from a database in a combobox while loading the asp page. Now on selection of this combo value it should display the details of the user on the same page.

Thanking you in advance.

Regards,
Bosky.
·  Faisal Khan
AdminAdminAdminAdmin
Joined: 24 Sep 2002
Total Posts: 547
Re: ASP Basics!!!!
Posted: 7 Mar 2003
Should be simple.

1. You first display the list of users.
2. A single name is selected by a user.
3. After the page is posted back, you retrieve the username selected using Request.Form or Request.QueryString.
4. Create a connection and recordset object, build an SQL query so that everything for *that* username gets selected.
5. Simply show the data to the user.

Faisal Khan.
Stardeveloper.com

Users Who Have Visited This Thread In Last 24 Hours
2 Visitors

Login
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2009 Stardeveloper.com, All Rights Reserved.