protected void Page_Load(object sender, EventArgs e) { //get the email from the query string string EMail = Request.QueryString["EMail"]; //get the temp password from the query string string TempPW = Request.QueryString["TempPW"]; //create an instance of the security class clsSecurity Sec = new clsSecurity(); //activate the account lblError.Text = Sec.ActivateAccount(EMail, TempPW); }