473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Retrieve a value from a Hyperlink

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
Nov 18 '05 #1
2 1169
Request.Params["variable_name"]

Eliyahu

"Mariame" <Ma************@yahoo.com> wrote in message
news:Om*************@TK2MSFTNGP11.phx.gbl...
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

Nov 18 '05 #2
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!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Randell D. | last post by:
Folks, I am working on a contact db using PHP and MySQL. My results so far outputs a slimed down version of records to the browser. I would like to implement a method whereby the user can...
1
by: Pat | last post by:
All, What I want to do: ******************* Click on a hyperlink in the last column in a datagrid, have it grab a value in the fourth column in the same row and send it to the codehind into a...
9
by: Paul | last post by:
Hi I have a data grid with a hyperlink column. the colum has numbers like 00001,000002, ect. Just wondering how to get the text value of the cell as tempstring =...
0
by: xiaozozo | last post by:
hi everyone, im having a small problem here.. currently using a datagrid to display data from my DB, and using button column "select" as my first column. the text field is set as one of the...
4
by: wrytat | last post by:
I have a form with a textbox for the user to enter a quantity and another textbox for the delivery date. I disabled this delivery date textbox such that the user has to press a calendar link next...
2
by: loga123 | last post by:
Hi All, I am using Link Button for DELETE on the gridview. When I click on DELETE link, I get the ArgumentOutOfRangeException. But...it deletes the record from table in the database. On...
0
by: Ruy Castelli | last post by:
Hello, I'm trying to collect information from a GridView. Basically, the user clicks on a buttonfield (which is a link button) and then I need to get the information displayed on the gridview...
3
by: staeri | last post by:
I have a page containing a dropdownlist. After clicking a hyperlink another page is opened. How can I retrieve the selected text in the dropdownlist from the new page without using a session or...
2
rsmccli
by: rsmccli | last post by:
Hello, Using Access 2002 I have a function that will accept a path to a document as a string, then open and print it. I have a table (tblScopeHyperlinks) that saves all hyperlinks inputted from...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.