Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > passing data between 2 pages

Reply
Thread Tools

passing data between 2 pages

 
 
Deepiceman
Guest
Posts: n/a
 
      06-23-2004
Hi All,

I have a asp page created which pulls information from an access
database. One of the things it pulls from the database is the address.
I want to put a link on this page which when clicked will open a
smaller new window asking the user to input their address. Once they
input the address and hit submit, the 2 addresses, user inputted (as
starting point) and the one from database (ending point) needs to be
inputted such that a url is formed, leading to the directions page on
yahoo or mapquest or any other site.

My question is how do I take the ending address and pass it over to
this new page (using http_referrer???) and then construct the url to
the directions page.

Thanks in advance.
Mandeep
 
Reply With Quote
 
 
 
 
Bullschmidt
Guest
Posts: n/a
 
      06-23-2004
Here is a mapping querystring I've used before that hopefully might give
you some ideas:

<a
href="http://www.mapquest.com/maps/map.adp?country=US&addtohistory=&addr
ess=<%= Server.URLEncode(FamilyAddress) %>&city=&state=&zipcode=<%=
Server.URLEncode(FamilyZip) %>&homesubmit=Get+Map" target="new">

Best regards,
J. Paul Schmidt, Freelance ASP Web Designer
http://www.Bullschmidt.com
ASP Designer Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing data between pages dbuchanan ASP .Net 3 06-25-2008 04:59 PM
Problem passing data between pages John ASP .Net 0 05-30-2008 01:45 AM
passing data between pages and querying a database in asp.net roo ASP .Net 2 10-20-2006 10:35 AM
Passing data between pages? Smokey Grindle ASP .Net 7 06-23-2006 09:05 PM
passing variables from .aspx.cs code pages to .aspx pages RadioSignal ASP .Net Web Controls 7 10-21-2005 11:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57