protected void Page_Load(object sender, EventArgs e)
    {
        DataManager _dMgr = new DataManager();

        if (Request.QueryString["ref"] != null && Request.QueryString["ref"].ToString() != "")
        {
            DataTable dt = _dMgr.ActivateAccount(Request.QueryString["ref"].ToString());

            if (dt.Rows.Count > 0)
            {
                activated.Visible = true;
            }
            else
            {
                expired.Visible = true;
            }
        }
        else
        {
            expired.Visible = true;
        }
    }