学习一

返回集合列表

 

DataClasses1DataContext dd=new DataClasses1DataContext ();
            DataTable  dt=new DataTable();

            var tr = from p in dd.HRHTLBs select p;
            var hy = from l in dd.HRHYZDs select new { l.HRHYZD_ZGBH, l.HRHYZD_ZGXM,l.HRHYZD_CSRQ};

IQueryable 与DataTable 的区别需要深入了解!

 

你可能感兴趣的:(学习一)