VB.NET:
Dim myString as String = Request.QueryString("param1")
Dim myInt as Integer = Integer.Parse(myString)


C#:
string myString = Request.QueryString["param1"];
int myInt = int.Parse(myString);


Those may not be exact syntax, but it will be pretty close.