protected void Page_Load(object sender, EventArgs e) { deleteCategoryQuery = Request.QueryString["category"]; aProductCategoryManager.DeleteCategory(deleteCategoryQuery); Response.Redirect("AddCategory.aspx"); }