How to get query string with multiple param

Total Post:2

Points:14

 2078  View(s)
Ratings:
Rate this:

Hi!

My web application URL as below

http://www.xyz.com?refurl=/product/info/pList.aspx?pID=1&pQ=Product1&pPrice=$147

I want to get all parameter values from URL. How it is possible

Please help me!

Thanks in advance

  1. Re: How to get query string with multiple param

    Hi Nithersh!


    You can try this way 

    Uri uri = new Uri(@"http://www.xyz.com?refurl=/product/info/pList.aspx?pID=1&pQ=Product1&pPrice=$147"); 
    string query = uri.Query;


Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.