Hello people,
I Wish to enter items in combobox at run time.
Say if i entered a number in textbox1 , for example : 20
So Combobox should be pupulated with numbers from 1 to 20 on Button Click.
Thanks
Hello people,
I Wish to enter items in combobox at run time.
Say if i entered a number in textbox1 , for example : 20
So Combobox should be pupulated with numbers from 1 to 20 on Button Click.
Thanks
Try this:
For I = 1 To Val(TextBox1.Text)
ComboBox1.Items.Add(I)
Next
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.