示例#1
0
        private int GetRecordCount()
        {
            var start = postdatetimeStart.SelectedDate;
            var end   = postdatetimeEnd.SelectedDate;
            var idx   = DataGrid1.CurrentPageIndex;
            var size  = DataGrid1.PageSize;

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