1
Reply

combobox goes blueish when binding data

eksypnos123

eksypnos123

Nov 16 2004 5:08 PM
1.9k
Hi, I have a combobox that I attach to a table like this: sqlDataAdapter1.Fill(ds1,"Region"); dataGrid1.DataSource=ds1.Tables["Region"]; comboBox1.DataSource=ds1.Tables["Region"];; comboBox1.DisplayMember="RegionDescription"; comboBox1.ValueMember="RegionID"; It displays the values of the regionDescription column but it has a background dark blue color that hides the data. When I click the dropdown menu, the items are clear but after I select one it becomes again unreadable due to the background dark blue color. BackColor and ForeColor properties ar at default colors (window and windowtext), although I tried changing them and still get the same dark blue color

Answers (1)