I am trying to list all the tables in my db in a combo box, but I just can't seem to find the correct way to do it.
I have set the datasource to my dataset but maybe I have to fill it somehow.
This is what I have done so far:
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
ComboBox1.DataSource = KalkyletabellerDataSet
End Sub
Can someone please help me?
I have set the datasource to my dataset but maybe I have to fill it somehow.
This is what I have done so far:
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
ComboBox1.DataSource = KalkyletabellerDataSet
End Sub
Can someone please help me?