I've written a few WPF apps. I know how to use data templates and have written them. But in all cases when I've used them, I'd done so with a known number of columns being returned from the database.
Now I'm starting a new project in which we're going to allow the users to decide which columns to return from a database. They can select as many or as few as they want. I just don't see how one can do this declaratively. Is that possible? If not, then how do you go about templating the data into something like an itemlist or other data container?
Rod