Querystring in C# web application

I have created web application.I am giving one of web page to client as api.Client can pass parameter to web page like below

Ex: www.domainname.com/Testpage.aspx?name=pinky&city=pune&number=xxxxxxxx

In same page Testpage.aspx,I am accessing/fetching querystring like below.

string s= Request.Querystring["name"];

I am not sure how client can call api.I mean to say from browser or code throught.Whether client use urlencode or not?

from code


will below code work ? or does i need to decode?If client did not use Encode then decode work fine?.I want user querystring value further processing and insert into table.

string s= Request.Querystring["name"];