using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Reflection;using System.Text;using System.Text.RegularExpressions;using System.Threading.Tasks; namespace ConsoleApplication16{ public static class ListAnd
一.select方法1.筛选出男性且名字中带有李的人然后按照生日降序排列(1)DataRow[] rows=DataTable.Select("sex='"+"男"+"' and stuName like '%李%'","birthday desc"); 2.体重在150以上且200以下的人员数量(2) A = dt.Select(" weight < 150 ").Count(); B = dt.S
using System; using System.Collections.Generic; using System.Web; using System.Data; /// <summary> ///Page 的摘要说明 /// </summary> public class PageList { public PageList() { // //TODO: 在此处添加构造函数逻辑 // } /// <summary> /// 对DataTable进行分页,起始页为