Don't use string concatenation when creating your query string. It leaves you open to sql injection attacks, creates extra work for you and makes your query unwieldy and difficult to debug.
Use Parameters instead -
http://www.dotnetperls.com/sqlparameter[
^]
Then do as Sibasis05 has suggested - debug your code and check that
comboBoxthana.SelectedText
and
textBoxLicence_number.Text
actually contain some data. Also check that the data actually matches to a record in your table - watch out for spelling mistakes and capitalisation