Hey All,
I have added at combobox Dropdownlist and added the list of values that i wanted to it about 13 in all {300, 600,1200,1800 ...} . The problem i am having is that when the code runs the initial value in the combobox is blank i would like 300 in this case to be the initial value.
Any idea on how to do that ? I know this seems to be a basic question but i cant find the answer high up or low down.
Code:// Braud_comboBox1 // this.Braud_comboBox1.DisplayMember = "1"; this.Braud_comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.Braud_comboBox1.FormattingEnabled = true; this.Braud_comboBox1.Items.AddRange(new object[] { "300", "600", "1200", "1800", "2400", "3600", "4800", "7200", "9600", "19200", "28800", "38400", "57600", "115200"}); this.Braud_comboBox1.Location = new System.Drawing.Point(106, 53); this.Braud_comboBox1.Name = "Braud_comboBox1"; this.Braud_comboBox1.Size = new System.Drawing.Size(155, 21); this.Braud_comboBox1.TabIndex = 1; //



LinkBack URL
About LinkBacks


