View Single Post
  #2 (permalink)  
Old July 25th, 2008, 11:37 AM
BrianWren BrianWren is offline
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Let's say you want to pass Bob and Smith, and you are redirecting to ThePage.aspx. After the URL add a question mark, followed by name/value pairs:
Code:
"http://www.ServerName.com/ThePage.aspx?first=Bob&last=smith"
If the data were in variables a & b:
Code:
"http://www.ServerName.com/ThePage.aspx?first=" & a & "&last=" & b
So, as you can see, where a & b are, you can put anything that returns a string...
Reply With Quote