1
Answer

combobox SQL Select to ignore if no value

Phil Dube

Phil Dube

2y
555
1

Hey guys, I have a windows form which has a datagrid in it and the user is able to enter text into textboxes and comboboxes and search and it will pull up the records. The records are of course in a SQL database. However I am trying to find out how to make my Select Statement  to "ignore" if the combobox is not selected (i.e. no value) and then to show all records. How do I go about doing this?

Phil 

Answers (1)