views:

31

answers:

0

Hi,

How do I setup a selected value for a combobox column in datagrid? I can't use "Select Value = 1;" like in a regular combobox, so how do I do that?

to be more specific : I have a datagrid which is consisted of two datasets tables: one table which contains 300 entries for different types of cars, and a combobox column which contains a list of 10 car makers (that's the second table). The car maker's code is the primary key in the combobox column's value member and the foreign key in the first table.

How do I load the datagrid so that t the combobox will display the correct car maker for every car entry (300 in total)?

Thanks, Udi