新建强类型数据集
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+" |
"); }
新建强类型数据集
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+" |
"); }