Click here to Skip to main content
16,021,041 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey everyone!
i have a link

http://www.windycitynovelty.com/OrderTrackingE.aspx?webSiteOID=062343&emailAddress=ironhorn@hotmail.com

i want of render emailaddress from the link using asp.net.
please help me out
thanks in advance
Posted
Updated 20-Jun-12 22:43pm
v2

YOu need to read the query string. Read more about them http://msdn.microsoft.com/en-us/library/system.web.httprequest.querystring.aspx[^]

In your case:

C#
string emailAddress = Request.QueryString["emailAddress"];
 
Share this answer
 
Comments
Maciej Los 21-Jun-12 12:53pm    
Good answer, my 5!
Sandeep Mewara 21-Jun-12 16:42pm    
Yep, ditto. 5!
Use following code, see if it helps:

C#
string strEmailAdd = Request.QueryString["emailAddress"];
// Use strEmailAdd for further operations.
 
Share this answer
 
Comments
Manas Bhardwaj 21-Jun-12 4:46am    
ditto +5!
Vani Kulkarni 21-Jun-12 4:56am    
:)
Maciej Los 21-Jun-12 12:37pm    
Good answer, my 5!
Vani Kulkarni 21-Jun-12 23:41pm    
Thanks!
Sandeep Mewara 21-Jun-12 16:42pm    
Good answer 5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900