you have to check QueryString key befor assigning it to a variable.
the correct form is:
if (Request.QueryString["SearchValue"] != null)
{
Label1.Text += "SearchValue: " + Request.QueryString["SearchValue"];
}
else
{
Label1.Text += "<br/>No search value provided.";
}