Topic: Getting Querystring values
Description: How to get values from Querystring
Example:
protected void Page_Load(object sender, EventArgs e)
{
int thisAlbumID = 0;
string thisReturnURL;
if (Request.QueryString["AlbumID"] == null)
{
thisReturnURL = string.Empty;
thisAlbumID = 0;
}
else
{
thisReturnURL = "~/MyPage.aspx";
thisAlbumID = int.Parse(Request.QueryString["AlbumID"]);
}
}