Phil Dube

Phil Dube

  • NA
  • 24
  • 508

combobox SQL Select to ignore if no value

Mar 30 2022 8:46 PM

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)