In Focus

Forums - C# Corner

Forum guidelines
Shovan Saha

Shovan Saha

  • 1.3k
  • 196
  • 16.8k

Combobox enable problem

Aug 14 2017 2:36 AM
I have two combobox. Both of two style is DropDownList. On form load 2nd will disable. When I shall select "‡mbv evwnbx (bb KwgkÛ)" from 1st combobox then 2nd will enable. Here is my code. Please help me. 
private void ArmyPension_Load(object sender, EventArgs e)
lblAPCoreRegimenterNam.Enabled = false;
comboBoxAPCoreRegimenterNam.Enabled = false;
if (comboBoxAPBahinirNam.Text.ToString() == "‡mbv evwnbx (bb KwgkÛ)")
comboBoxAPCoreRegimenterNam.Enabled = true;

Answers (2)


Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now