Request.QueryString in .NET
A very useful bit of nomenclature courtesy of the forums.asp.net site. In classic ASP I always liked using query strings. Well, in .NET (at least using C#) square brackets when accessing properties such as QueryString. Their example:
Change:
string userId = Request.QueryString("userId");
to:
string userId = Request.QueryString["userId"];
0 Comments:
Posta un commento
<< Home