Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #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

How about:

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

  #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

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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 04:58 AM.

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