Question : Getting Dataset of ComboBox?

I'm using winform with vb.net.
How can I get the dataset that a ComboBox is bound to, the data that would appear when pressing the down arrow on the ComboBox?

Answer : Getting Dataset of ComboBox?

When you bind a DataSet to a Combobox, you use the DataSource property. You can then use that property to get the DataSet....

   Dim ds As DataSet = CType(Combobox1.DataSource, DataSet)

Wayne
Random Solutions  
 
programming4us programming4us