vb.net - query or datagridview dependant on 7 combo boxes -


i'm creating application in vb.net , in there 7 combo boxes, want create query or fill datagridview according selected combo boxes

for example if select 1 combo box, datagridview should reflect data according 1 combo box, or if select 2,4 or of them datagridview should reflect selection. order of combo box random.

can me logic? here's ui looks enter image description here

any combo box these 7 combo boxes can selected in random manner or of them can selected. want build query consider random nature of combo boxes.

suppose select first combo box , press filter button(first left), dgv should filtered according that, if select next combobox 3rd dgv should filtered considering both combo boxes, , on. second button resets selection.