giannis papas

giannis papas

  • NA
  • 9
  • 973

Where is the wrong in this SQL Query?

Jan 19 2013 11:36 AM
Hi guys

Can anyone tell me where is the wrong in this SQL Query?

Dim selectedCompany As String = cbCompany.SelectedValue
cm = New SqlCommand("Select distinct City From Staff Where Company='" + selectedCompany + "'", cn)

Answers (1)