Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

When assigning value make sure comboBox stick to the value assigned instead of selecting from its list. Even if value is same but only differ in case.

Like

If I write comboSub.Text = "BlowMolding";

and comboSub list items are blowmolding,

                                                     injectionmolding etc.

 

Still comboSub value should stick to BlowMolding and should not automatically convert to blowmolding from the list.

user-image
Question ajoutée par Anurag Misra , Senior Consultant , Grant Thornton Bharat LLP
Date de publication: 2017/01/25
Wael Inaim
par Wael Inaim , Manager of Information Technology Section. , Khatib & Alami

it is better to use the combo box  index value that refer to the wanted value and try not to use strings as much as you can while dealing with refering to item in combo box.

More Questions Like This