nn so provo a postarti il mio così magari vedi qualche differenza:
codice:
<%@ Page Title="Result" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Result.aspx.cs" Inherits="Matteo.Result" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
<meta http-equiv="Refresh" content="4; url=default.aspx"/> 
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h1><asp:Label ID="labResult" runat="server"></asp:Label></h1>
</asp:Content>
code behind:
codice:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Matteo
{
    public partial class Result : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int risultato = int.Parse(Request.QueryString["id"]);
            if (risultato == 0)
            {
                labResult.Text = "Errore! Tra 5 secondi sara reindirizzato alla home";
            }
            else
            {
                labResult.Text = "Query eseguita con successo! Tra 5 secondi sara reindirizzato alla home";
            }
        }
    }
}