DataGridView ComboBox
Hi,
I am writing an app that uses CSV files for data rather than a database.
I load the CSV files into a dataset and add a relation to link the tables within the dataset.
I can load the main table into the dataGridView and I can also load the comboBox column with a field from the joining table but it doesn't display the appropriate item from the comboBoxes list to match the ID in the table to which it is linked.
In other examples I have seen, which are all using dataAdapters to link to databases, it seems to be automatic.
Can anyone help me resolve this?
Thanks.
|