protected void Page_Load(object sender, EventArgs e) { // Permissions perm = new Permissions(); // perm.Insert(1, 2); Response.Cache.SetCacheability(HttpCacheability.NoCache); MenuItemMyReviews = "active"; if (Session["UserId"] == null) Response.Redirect("Default.aspx"); if (!IsPostBack) { Reviews BReviews = new Reviews(); ReviewList.DataSource = BReviews.GetReviewsList((Int32)Session["UserID"]); ReviewList.DataBind(); } }