Question Where is problem?? - load data to combobox

cs_paladin

New member
Joined
Dec 14, 2010
Messages
1
Programming Experience
3-5
Good day for all
i have these sub whitch shall fill combobox with data from dataset

Dim dt As New DataTable
Dim da = V_laborky_sumarTableAdapter
Dim ds As New DataSet

da.odbornost(dt)


With Me.KododbornostComboBox
.DataSource = dt
.DisplayMember = "kododbornost"
.ValueMember = "kododbornost"
.SelectedIndex = 0
End With

he runs in form load
thank to you
mira

(i am sorry for my poor english)
 
Last edited:
Back
Top