예제 #1
0
        protected void OthersGrid_PageIndexChanging(Object sender, GridViewPageEventArgs e)
        {
            OthersGrid.PageIndex = e.NewPageIndex;
            DataTable list = AdminOthers.GetOtherList();

            OthersGrid.DataSource = list;
            OthersGrid.DataBind();
        }
예제 #2
0
        protected void BindData()
        {
            DataTable itemslist = AdminOthers.GetOtherList();

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

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