vs2005标准控件GridView中GridViewCombobox的数据绑定:
DataTable tb = new DataTable();
tb.Columns.Add("ID");
tb.Columns.Add("value");
DataRow dg = tb.NewRow();
dg["ID"] = 1;
dg["value"] = 100;
tb.Rows.Add(dg);
DataGridViewComboBoxColumn dgComoBoxAddress;
//GridView1的第三列为ComboBox下拉列表
dgComoBoxAddress = (DataGridViewComboBoxColumn)GridView1.Columns[3];
dgComoBoxAddress.DataSource = tb;
dgComoBoxAddress.DisplayMember = "Value";
dgComoBoxAddress.ValueMember = "ID";