DataGridView
C#
2
Posts
2
Posters
0
Views
1
Watching
-
i use .Net 2005 Windows application i have datagridview Control and one of its column caontain Combobox how can i bind datasource to this combobox thanx
Dear it is very simple when you used the Wizard. if you add the combobox Then Used follwing Code DataGridViewComboBoxColumn dgCombo = new DataGridViewComboBoxColumn(); dgCombo.DataSource = ""; dgCombo.DisplayMember=""; dgCombo.ValueMember = ""; dataGridView1.Columns.Add(dgCombo);