i have a combo box and i populate it with numbers from 1 to 40 but it shows them as 1 than 10-19 than 2 than 20-29 and so on even i tried to insert data trough code
for(int i=0;i<41;i++)
Combobox.Items.Inert(i,(i+1).ToString())
Also tried above code without conversion to string
but Again it shows same result i think it brings them in ascending order but this is not what i want Kindly Tell me how to do it so that it displays numbers in order from 1-40
Thanks
Sorting of a ComboBox is always done Alphabetically and Ascending.
If you don’t want this behavior, then you can simply turn it off by setting the
Sortedproperty tofalse.