Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 2nd, 2007, 02:34 AM
Registered User
 
Join Date: May 2007
Location: Mukall, hadramout, Yemen.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing parameter in URl

Please, I need to know how can I pass parameter in hyperLinke server control
  #2 (permalink)  
Old May 2nd, 2007, 03:12 AM
Authorized User
 
Join Date: Dec 2006
Location: , , .
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How about:

Code:
myLink.NavigateUrl = "http://www.thewebsiteshop.co.uk?p1=" & parameter "&p2=" & nextparameter



http://www.thewebsiteshop.co.uk
  #3 (permalink)  
Old May 2nd, 2007, 08:46 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: Amman, , Jordan.
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I like to do it this way:

Response.Write("<script>window.open('"myPage.aspx? d=" + firstparam +&y="+secondparam +"','_new');</script>");

and i recieve it in the second it page using this code:
string strParam1 = Request.QueryString["d"];
string strParam2 = Request.QueryString["m"];


Nothing is impossible. The impossible only takes longer. "Digital Fortress, Dan Brown"
  #4 (permalink)  
Old May 4th, 2007, 06:13 AM
Authorized User
 
Join Date: Nov 2006
Location: Mandi, Himachal Pradesh, India.
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to akhilhp
Default

Thanks Zaghmout... I just peeped in and found a great solution for me.

Akhilesh


Similar Threads
Thread Thread Starter Forum Replies Last Post
proplem with passing parameter in URL alamoudi ASP.NET 1.x and 2.0 Application Design 0 May 2nd, 2007 06:36 AM
Passing parameter in URl alamoudi ASP.NET 1.x and 2.0 Application Design 0 May 2nd, 2007 02:10 AM
parameter from URL Seeker55 Crystal Reports 2 September 11th, 2006 03:50 PM
Passing URL parameter to form for editing markad08 Dreamweaver (all versions) 1 May 18th, 2006 03:38 PM
URL Parameter bubberz BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 July 25th, 2005 03:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.