I have no idea where to start. i tried DataTable but it didn’t work.(This is an easy question 🙂 )
I tried everything
{
var test = new DataTable();
test.Columns.Add("test");
test.TableName = "test";
test.Columns.Add("test");
comboBox1.DataSource = test.XXXX ;
}
Assuming you mean winforms, something like:
(in particular,
SelectedValueshould give you the123and456– useful for ids, etc)