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.