1
Answer

combobox

ganesh sadu

ganesh sadu

11y
962
1
hi i have other doubt;
actually i want to get details from the combobox. such as experience it must increase 1 by one so i write for loop.

int expe;
for(expe=0;expe<=30,expe=++)

actually this is want to increase when the form loading.
 so where i want to write this coding to my form. 

please help me. 
Answers (1)
0
Satyapriya Nayak

Satyapriya Nayak

NA 53k 8m 11y
private void Form6_Load(object sender, EventArgs e)
        {
            comboBox1.Text = "Select experience";
            int expe;
            for(expe=0;expe<=30;expe++)
            {
                comboBox1.Items.Add(expe);
            }
        }