tryandcatch.net

Blogs from tryandcatch.net
Welcome to tryandcatch.net Sign in | Join | Help
in Search

Ezequiel EspĂ­ndola's Blog

Pattern to handle QueryString values on ASP.NET 2.0 pages

Here you have a good pattern to handle values from the QueryString on your ASP.NET 2.0 pages:
int _id = 0;
string id = Request.QueryString["id"];
if (!String.IsNullOrEmpty(id))
{
  int.TryParse(id, out _id);
}

For more information or to discuss about it go to Getting IDs from the QueryString.

Published Sunday, February 26, 2006 10:09 AM by eespindola
Filed Under:
Anonymous comments are disabled

This Blog

Post Calendar

<February 2006>
SuMoTuWeThFrSa
2930311234
567891011
12131415161718
19202122232425
2627281234
567891011

Syndication

Powered by Community Server, by Telligent Systems