大水牛

 

linq

新建强类型数据集 

DataSet1.lmbDataTable lmbTable = new DataSet1TableAdapters.lmbTableAdapter().GetData(); 

 var tabel = from l in lmbTable 

where lmbh==8 select l;

 foreach (var t in tabel) 

 { Response.Write("

"+t.lmmc+" "+t.lmlj+"

"); }

posted on 2010-12-02 02:34  liucyi  阅读(190)  评论(0编辑  收藏  举报

导航