我有以下错误的转换,从泛型列表<Datarow>到泛型列表<string>
List<string> esfa = NewTable.AsEnumerable().Where(row => row.Field<string>("Select")
=="true").ToList();
的代码,而编译得到错误
无法隐式转换类型
'System.Collections.Generic.List<System.Data.Datarow>'
到'System.Collections.Generic.List<string>'
请帮帮我。
感谢乔恩我想这就是我正在寻找的 – Rohit 2013-03-07 07:39:45