I'm using VB.NET 2005, a real newbie to .NET (used VB 6), and trying to finished an inherited application.
What is the simplest way to fill a combobox with values(1 column) from an Access DB table using a simple SQL string?
Will this work:
I want the user to select from the list and have the report viewer display a report based on the selection. I have creating a query in the DB and used the smart task options to fill the combo box, but it quickly got complicated beyond me.
Any help or a point toward an answer would be appreciated.
Thanks in advance.
ribbons
What is the simplest way to fill a combobox with values(1 column) from an Access DB table using a simple SQL string?
Will this work:
Code:
combobox1.Datasource = "SELECT Column1 from Table1"
I want the user to select from the list and have the report viewer display a report based on the selection. I have creating a query in the DB and used the smart task options to fill the combo box, but it quickly got complicated beyond me.
Any help or a point toward an answer would be appreciated.
Thanks in advance.
ribbons