C# Programming
12-22-2009, 06:51 AM
I have load dataGridView with following value.
"select customerId,orderId from Order"
now I have load DataGridViewComboBoxColumn with following value
"select customerId, customerName from Customer";
obj.DisplayMember = " customerName ";
obj.ValueMember = " customerId ";
how can I set dataGridView customerName with loaded customerId. dataGridView first column will be DataGridViewComboBoxColumn.
modified on Monday, December 21, 2009 3:53 AM
"select customerId,orderId from Order"
now I have load DataGridViewComboBoxColumn with following value
"select customerId, customerName from Customer";
obj.DisplayMember = " customerName ";
obj.ValueMember = " customerId ";
how can I set dataGridView customerName with loaded customerId. dataGridView first column will be DataGridViewComboBoxColumn.
modified on Monday, December 21, 2009 3:53 AM