摘要:
1.DataTable DataTable dt = udb.GetAllUser(); DataTable dt1 = new DataTable(); IEnumerable q1 = from r in dt.AsEnumerable() where r.Field("车间ID") == Convert.ToInt32(车间ID) && r.Field("IsAdmin") == 0 orderby r.Field("车间ID") ascending select r; dt1 = q1.CopyToDataTa 阅读全文