Click here to Skip to main content
16,006,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHi guys newbie programming question - Parsing a string Pin
tgebrael21-Mar-08 21:11
tgebrael21-Mar-08 21:11 
GeneralRe: Hi guys newbie programming question - Parsing a string Pin
darkelv21-Mar-08 21:41
darkelv21-Mar-08 21:41 
GeneralRe: Hi guys newbie programming question - Parsing a string Pin
tgebrael21-Mar-08 21:47
tgebrael21-Mar-08 21:47 
GeneralRe: Hi guys newbie programming question - Parsing a string Pin
darkelv21-Mar-08 22:01
darkelv21-Mar-08 22:01 
Generalimplementing linq Pin
ganero21-Mar-08 17:32
ganero21-Mar-08 17:32 
GeneralRe: implementing linq Pin
Christian Graus21-Mar-08 19:38
protectorChristian Graus21-Mar-08 19:38 
GeneralRe: implementing linq Pin
ganero23-Mar-08 1:33
ganero23-Mar-08 1:33 
Generalfilling 2 different combo boxes with info from same dataTable Pin
AAGTHosting21-Mar-08 11:54
AAGTHosting21-Mar-08 11:54 
I have a list box and a combo box that both allow you to
select a teachers name from a list. They are on different panels that show on the form at different times. I created a dataTable named dtTeachName that only holds the teacher name and id. I am attempting to populate both of these controls with the saem information. At first I loaded both of these from the same dataTable, but when I do that the teacher names will dissapear in the list box. I even put an if statement that said that that list box wont populate unless the panel it is on is visible. When I do that the program freezes.

Has anyone run into this problem before?

Here is my code.

' fill the teachers checked list box
        cboSelectTeacher.DataSource = dtTeachName
        cboSelectTeacher.DisplayMember = "teach_name"
        cboSelectTeacher.ValueMember = "teach_id"

' fill the teachers checked list box
            lstTeachers.DataSource = dtTeachName
            lstTeachers.DisplayMember = "teach_name"
            lstTeachers.ValueMember = "teach_id"

GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
Christian Graus21-Mar-08 12:18
protectorChristian Graus21-Mar-08 12:18 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
AAGTHosting21-Mar-08 12:20
AAGTHosting21-Mar-08 12:20 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
Christian Graus21-Mar-08 12:35
protectorChristian Graus21-Mar-08 12:35 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
AAGTHosting21-Mar-08 13:30
AAGTHosting21-Mar-08 13:30 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
Christian Graus21-Mar-08 13:54
protectorChristian Graus21-Mar-08 13:54 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
AAGTHosting21-Mar-08 14:12
AAGTHosting21-Mar-08 14:12 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
Christian Graus21-Mar-08 14:24
protectorChristian Graus21-Mar-08 14:24 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
AAGTHosting21-Mar-08 14:33
AAGTHosting21-Mar-08 14:33 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
Christian Graus21-Mar-08 16:34
protectorChristian Graus21-Mar-08 16:34 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
AAGTHosting21-Mar-08 19:22
AAGTHosting21-Mar-08 19:22 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
Christian Graus21-Mar-08 19:37
protectorChristian Graus21-Mar-08 19:37 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
AAGTHosting22-Mar-08 15:26
AAGTHosting22-Mar-08 15:26 
GeneralRe: filling 2 different combo boxes with info from same dataTable Pin
jimpar24-Mar-08 7:34
jimpar24-Mar-08 7:34 
GeneralIn order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user Pin
saini arun21-Mar-08 6:22
saini arun21-Mar-08 6:22 
GeneralRe: In order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user Pin
Kschuler21-Mar-08 6:47
Kschuler21-Mar-08 6:47 
GeneralRe: In order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user Pin
saini arun21-Mar-08 6:57
saini arun21-Mar-08 6:57 
GeneralRe: In order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user Pin
Kschuler21-Mar-08 7:47
Kschuler21-Mar-08 7:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.