Retrieve a value from a Hyperlink

M

Mariame

Hi Everyone,
i have a hyperlink (client side) that i want it to pass a value to other
webpage (server side) , so i use the following code:
< a href="url?Variable" > Page Name < / a >
So how can i retrieve this value from the other webpage???
Thx in Advance
 
D

Daren Hawes

Hi Mariame,

Very easy

This is the links say...

< a href="xyz.aspx?Variable=Hello World" > Page Name < / a >

Now in the xyz.aspx page add

Dim TheVariable as String = Request("Variable")

Easy!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top