Hi
I have a requirement to display tabular data in a WPF GUI and the DataGrid looks to be the natural choice.
In this case, the number of columns and their headings can vary at runtime. I have looked at a number of articles and code examples but they all seem to assume that the data is fixed in advance and that you can bind your input data to a class with a property for each column.
Is there a pattern or technique for doing this when you don't know the structure of the data at compile time?
Thanks
Patrick