1 for( int i=0;i<tbBiao.Rows.Count;i++) 2 { 3 string TableName = (tbBiao.Rows[i]["Table"]).ToString(); 4 tbDn = GetAccessData(TableName); 5 DnList = tbDn.AsEnumerable().Select(p => p.Field<double>("DN").ToString()).Distinct().ToList(); 6 cbbDn.Items.AddRange(DnList.ToArray()); 7 }
时间: 2024-10-05 21:58:38