how to get data from url on asp.net
15,649
Solution 1
string category = Request.QueryString["category"];
string maxResult = Request.QueryString["maxResult"];
Solution 2
Author by
muhammedkasva
Updated on June 04, 2022Comments
-
muhammedkasva almost 2 years
I want to get data from a url on asp.net. I need the data to be a string, which I can then use in other code.
http://example.com/service_name/videos/?category={0}&offset={1}&maxResult={2}
I need category offset and maxresult's number.
Can anyone help me?