I’m trying to populate a combobox from a dataset with only specific rows, this is my code:
comboBox2.DataSource = glObalDataSet.Tables["JOBURI"].Select(
"CONT = '" + comboBox1.SelectedValue.ToString() + "'");
The dataset works fine, it is populated, can someone show me where i’m doing wrong?
Use DataView to filter the result.
You need to set
DisplayandValuemember property of Combobox control.