kermitforney
Technical User
Have some strange behavior mucking up my combobox. For some reason when the data is pulled it is displayed vertically.
So, the recruiters name looks like this:
T
o
m
S
a
w
y
e
r
Not sure why this is happening, any help is greatly appreciated.
FYI ~ .Net noob here, so I am at a white belt status. )
So, the recruiters name looks like this:
T
o
m
S
a
w
y
e
r
Not sure why this is happening, any help is greatly appreciated.
FYI ~ .Net noob here, so I am at a white belt status. )
Code:
cmdRecruiters.CommandText = "stpRecruiters2"
dtr = cmdRecruiters.ExecuteReader()
dtr.Read()
dtb.Clear()
dtb.Columns.Add(New DataColumn("strAssignedRecruiter", GetType(String)))
drw = dtb.NewRow
drw("strAssignedRecruiter") = dtr("strAssignedRecruiter")
dtb.Rows.Add(drw)
cboRecruiter.DataSource = dtr("strAssignedRecruiter")
cboRecruiter.DataBind()
dtr.Close()