List<DataRow>我需要在 DataTable 中使用一個。如果要反轉串列,則會產生錯誤:
The following _TypeError was thrown building Example(dirty):
type 'ReversedListIterable<DataRow>' is not a subtype of type 'List<DataRow>'
如何反轉型別串列DataRow?
uj5u.com熱心網友回復:
List<DataRow> listOfItems = [......];
List<DataRow> reversedListOfItems = listOfItems.reversed.toList()
這應該可以解決問題
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/522598.html
標籤:扑镖
上一篇:將URL卷曲到vb.net
