IEnumerable<InspecReportsContextEntity> OnenewDate = lisConAll.Where(p => p.inspectime == timer1.Text);/
int countNum = OnenewDate.ToList<InspecReportsContextEntity>().Count;//获取list集合总数
IEnumerable<InspecReportsContextEntity> OnenewDate = lisConAll.Where(p => p.inspectime == timer1.Text);/
int countNum = OnenewDate.ToList<InspecReportsContextEntity>().Count;//获取list集合总数