protected void btnDelete_Click(object sender, EventArgs e) { dbProcedures db = new dbProcedures(); db.DeleteMember(txtUsername.Text, txtCarrier.SelectedValue); db.LogAction(txtUsername.Text, "Information", "Deleted member: " + txtUsername.Text + " [" + txtCarrier.SelectedValue + "]"); db.Close(); Session["strMemberId"] = ""; Response.Redirect("~/Members.aspx"); }