Click here to Skip to main content
15,921,643 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all!
I have a combobox with array (24,01,02,03,04,05). I want to user Obligatory choose the first value in the combobox (as this example is 24) then could continue choose next number.
I thought i must use Check selected value with SelectedItemchange in Combobox.

But i don't clear how to code.
So, please help me how to do this task!

Thanks you!

What I have tried:

How to obligate choose values in combobox by number order C#
Posted
Updated 28-Nov-17 18:36pm

Quote:
I have a combobox with array (24,01,02,03,04,05). I want to user Obligatory choose the first value in the combobox (as this example is 24) then could continue choose next number.

The principle of combobox is to give user a choice in array.
Why do you want to use a combobox if there is no choice?
Just split the value you want, no user input.
 
Share this answer
 
yes, that right! But user sometime forget choose the first values make me missing Primary key from another table.

I want they will choose values as sequency array.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900