Exemplo n.º 1
0
        protected void OthersGrid_PageIndexChanging(Object sender, GridViewPageEventArgs e)
        {
            OthersGrid.PageIndex = e.NewPageIndex;
            DataTable list = AdminOthers.GetOtherList();

            OthersGrid.DataSource = list;
            OthersGrid.DataBind();
        }
Exemplo n.º 2
0
        protected void BindData()
        {
            DataTable itemslist = AdminOthers.GetOtherList();

            OthersGrid.DataSource = itemslist;
            OthersGrid.DataBind();

            ModifiedDate.Text = DateTime.Now.ToString("MM/dd/yyyy");
        }