views:

73

answers:

0

Is there a library/CLR command that allows me quickly (in a few lines of code) convert a tabular data structure (say List<List<string>>) into a displayable WPF DataGrid?

I'm looking for a function like:

ListView FromIEnumerable(IEnumerable<IEnumerable<object>> source) {...}

Which would be used as

panel.Content = FromIEnumerable(ReadCSV(@"someFile.csv"))