c# - Convert IEnumerable to DataTable - Stack Overflow

c# - Convert IEnumerable to DataTable - Stack Overflow

瀏覽:324
日期:2025-07-11
Is there a nice way to convert an IEnumerable to a DataTable? I could use reflection to get the properties and the values, but that seems a bit inefficient, is there something build-in?...看更多