protected void Page_Load(object sender, EventArgs e) { string ActivateStr = (string)Request.QueryString["Activate"]; if (ActivateStr != null) { if (Forum.ActivateUser(ActivateStr) == true) { NewUser.Visible = false; ForgotPass.Visible = false; form1.Controls.Add(new LiteralControl("Account is Active!")); } } }