|
-
May 9th, 2013, 10:00 AM
#4
Thread Starter
New Member
Re: Combo Boxes and Databases
haha. yeah, I was considering changing the name of the columns in the tables.
but I'm getting an error now. I have a feeling that it is in the syntax though..
Firstly, I already had set the DisplayMember to Value and the ValueMember to Code... I'm having problems passing the Code to the appropriate label.
Here's what I'm doing wrong:
Private Sub CboProdFam_SelectedIndexChanged(sender As Object, e As EventArgs) Handles cboProdFam.SelectedIndexChanged
lblOutFam.Text = cboProdFam.SelectedValue
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|