草庐IT

orderedList

全部标签

c# - 绑定(bind)列表和 LINQ?

我是Linq的新手,我想对BindingList中的一些数据进行排序。完成Linq查询后,我需要重新使用BindingList集合来绑定(bind)我的数据。varorderedList=//Hereislinqqueryreturn(BindingList)orderedList;编译成功,执行失败,请问这是什么技巧? 最佳答案 newBindingList(orderedList.ToList()) 关于c#-绑定(bind)列表和LINQ?,我们在StackOverflow上找到一