c# - Convert IEnumerable to DataTable - Stack Overflow

c# - Convert IEnumerable to DataTable - Stack Overflow

瀏覽:1493
日期:2025-09-15
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?...看更多