C# Tutorial-17 ComboBox Part-6 | How to set default value in combobox c#??



How to set default value in combobox c#??
SelectedIndex property is used to set the default value of ComboBox….
[Please note that Index Starts from Zero]
Background Sound:
It means…
First item has 0 index
Second item has 1 index
Third item has 2 index
And so on..
[If no Item is selected, -1 is returned by the SelectedIndex property]

Leave a Reply

Your email address will not be published. Required fields are marked *