What I want to do is access the value passed to a webpage (GET
, POST
request) using asp.net
. To be more clear, for example:
URL: http://www.foobar.com/SaleVoucher.aspx?sr=34
Using asp.net
I want to get the sr
value i.e 34
.
I'm from the background of C#
and new to ASP.NET and don't know much about ASP.NET
.
Can you refer to this QueryString
Here he says how to access the query string using:
Request.Url.Query