Hi this code is to fill up my Combo1 Item which is came from my Table1
.Combo_Main_AM.Items.Clear() Dim da As New OleDbDataAdapter("Select * from Table1", con) da.Fill(dt) For Each myRow In dt.Rows .Combo1.Items.Add(myRow.Item(0)) Next
so it will add up the combo1
now the question is how can i get the that name to be used in my query?
i will use it to be the name of my table i want to search.
da.fill(dt) Dim da As New OleDbDataAdapter("Select * from dt", con) 'Code here Next
I hope you understand what i mean.