Esempio n. 1
0
        protected void taskGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            eventBO filltable = new eventBO();
            String  user_Id   = Request.Cookies["CurrentLoggedInUser"].Value;

            taskGridView.DataSource = filltable.loadEvent(user_Id);
            taskGridView.PageIndex  = e.NewPageIndex;
            taskGridView.DataBind();
        }
Esempio n. 2
0
        //correct one
        // eventBO getEventDetails = new eventBO();

        public void loadData()
        {
            eventBO filltable = new eventBO();
            String  user_Id   = Request.Cookies["CurrentLoggedInUser"].Value;

            taskGridView.DataSource = filltable.loadEvent(user_Id);

            taskGridView.DataBind();



            //  taskGridView.UseAccessibleHeader = true;
            //  taskGridView.HeaderRow.TableSection = TableRowSection.TableHeader;
        }