Creating query based on multiple combo boxes
I have a form with 3 combo boxes on, each with a random number of items in them.
What I am trying to do is to let the user select items from the combo boxes and then generate the sql query based on what they had selected, i would then want to display the results of this query in a datagrid view.
I am fairly sure i will need to use a sproc to pass parameters for the fields i will need from the app to the database but i am pretty much a vb novice and have only recently started using sql connections through it.
Any help would be greatly appreciated.