Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

Combobox and Array?

Can you bind an array to a combobox or do you have fill it row by row?
0
szx248
Asked:
szx248
1 Solution
 
Wayne Taylor (webtubbs)Commented:
Yep :)

Dim arr() As String = {"Data1", "Data2", "Data3", "Data4"}
ComboBox1.DataSource = arr

Wayne
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now