protected void btnYes_Click(object sender, EventArgs e) { DbMethodsObj.DeactivateVenture(ventureObj.ventureID); Expert expertProfileObj = (CapstoneBlackstone.Expert)Session["expertProfileObj"]; Response.Redirect("ExpertPage.aspx?username=" + expertProfileObj.username); }