1
Answer

Where is the wrong in this SQL Query?

Photo of giannis papas

giannis papas

12y
1k
1
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)