I think what you want to do is to filer the rows in the DataTable depending on the value of one column.
You don't make it easy to interpret your wish, though. You really need to provide more information.
I am just guessing now that this is what you want to do.
You can do this in c# code:
DataTable dt = new DataTable("Food");
dt.Columns.Add("Name");
dt.Columns.Add("Type");
dt.Rows.Add("Apple", "Fruit");
dt.Rows.Add("Carrot", "Vegetable");
dt.Rows.Add("Pear", "Fruit");
dt.Rows.Add("Cucumber", "Vegetable");
dt.Rows.Add("Tomato", "Fruit");
dt.Rows.Add("Broccoli", "Vegetable");
DataView dv = new DataView(dt);
dv.RowFilter = "Type = 'Fruit'";
Then use the
DataView
as the
DataSource
for your
ComboBox
.