Get paremeters in a URL

by cliper Wednesday, June 25, 2008 11:27 AM

Well, sometimes we asked how can we passed request parameters in our web application?

So if we have http://cliper.boholcentral.com/?request_id=test we need to get "test"

In our classic ASP web application, we do like

Request.QueryString("request_id")


probably, ASP.NET still uses this syntax and the most readable syntax could be:

C#
Request["request"];

VB
Request("request_id");

Tags:

ASP.NET | C#

Comments are closed

About the author

Author's PhotoI enjoy web developing and would like to share my thoughts of it.

Send mailE-mail me

Most comments

Calendar

<<  February 2012  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
2728291234
567891011

View posts in large calendar