Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

combobox to label connection

Status
Not open for further replies.

MsMope

IS-IT--Management
Sep 3, 2003
83
US
Good Afternoon,
I have a combobox on my form (cboBuilderName) that I am filling with an array:
Private mBuilderCompany() As Builder =
mBuilder.GetBuilders("")
Dim pintCount As Integer

For pintCount = 0 To mBuilderCompany. _
GetUpperBound(0)
cboBuilderName.Items.Add
(mBuilderCompany(pintCount).Company)

I also have a label that needs to display the currently selected records builder number. (lblbuilderNo) the field in my mBuilder is SAPBUILDERNO.

Any suggestions?

 
first check wheather your combobox is filled properly with the array.then
label.text=combobox.GetItemText should do
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top