Пример #1
0
        private DataTable buildGridData()
        {
            var start = postdatetimeStart.SelectedDate;
            var end   = postdatetimeEnd.SelectedDate;
            var idx   = DataGrid1.CurrentPageIndex;
            var size  = DataGrid1.PageSize;

            return(AdminVisitLog.Search(others.Text, Username.Text, start, end, null, idx * size, size).ToDataTable());
        }