example

DataTable dt = new DataTable();

dt.Columns.Add("ID");

dt.Columns.Add("NM");

for (int i=0;i<5; i++)

{

dr = dt.NewRow();

dr[0] = i;

dr[1] = "A" + i.ToString();

dt.Rows.Add(dr);

}

DataTable dt_2 = new DataTable();

dt_2.Columns.Add("ID");

dt_2.Columns.Add("NM");

for (int i=0;i<5; i++)

{

dr = dt_2.NewRow();

dr[0] = i;

dr[1] = "A" + i.ToString();

dt_.2Rows.Add(dr);

}

comboBox1.DataSource = dt.DefaultView;

comboBox2.DataSource = dt_2.DefaultView;

comboBox1.DisplayMember="I

comboBox1.ValueMember = "ID";

comboBox2.DisplayMember="N

comboBox2.ValueMember = "NM";