I have a DataGrid bound to a table in DataSet A. I’m manually creating the grid columns.
Two of the columns comprise the key into a table in DataSet B and I need to display the (read-only) lookup Name instead of the IDs.
I’m guessing I use a Value Converter of some sort but don’t know how to get started.
I saw this: Lookup-id-control in WPF DataGrid but 1) I need to specify the combobox’s ItemSource in the code and can’t figure out how to do so 2) I’ve got a tuple key 3) it seems there should a more straightforward way to accomplish this.
Thanks!
Dan
As I said in my comment, I’m falling back on Plan A which is more model/view friendly.
I think I’m just going about it ‘wrong’ otherwise.