There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen boot computer connection crash css dell display driver drivers email error ethernet excel explorer firefox firefox 3 freeze game hard drive internet internet explorer itunes laptop lcd linux malware monitor network networking nvidia outlook outlook 2003 outlook express partition printer problem router slow software sound startup trojan usb virus vista windows windows xp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
VB/ASP help needed


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
gurutech's Avatar
Computer Specs
Distinguished Member with 2,261 posts.
 
Join Date: Apr 2004
Location: Central NJ
Experience: Seasoned Professional
25-Apr-2008, 10:16 AM #1
VB/ASP help needed
Hi everyone!

I have a small project I'm working on, and need to do the following:

- Pass a parameter from a web link into an ASP page (like http://website.com/index.asp?parameter=999999 )
- Look up the parameter value (from above) in a database
- Pull data from this database, based on the parameter value
- Have users take a survey (yes/no questions)
- Export the survey data and the data from the previous database into a separate database

The survey itself should ask questions based on user responses on previous questions (ie. if a user answers "No" to a question, the next question will be different than if they had answered "Yes".)

I'm assuming this can be done through VB and ASP, but if it can only be done via JavaScript, that's OK too. I'm more familiar with VB though...

Thanks in advance!
__________________
If this helped you, please take the time to rate the value of this post: http://rate.affero.net/gurutech/
__________________________________________
I don't suffer from insanity - I enjoy every minute of it!
peterh40's Avatar
Computer Specs
Senior Member with 404 posts.
 
Join Date: Apr 2007
Experience: Advanced
25-Apr-2008, 06:27 PM #2
1. To pass value tos another page use Response.Write("...put url here...") whith the parameters you specify.
2. To get values use the var = Request("Parameter")
3. For Sql use the SQLClient, you can use SqlCommand and add Parameters to the command
sqlcmd.CommandText = "enter sql command string here"
e.g. sqlcmd.Parameters("Param1").Value = a_value
then use sqlcmd.Execute to run which can be reader with a DataReader type to read the values from table.
__________________
Peter Hutchison, UK
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:58 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.