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)
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jan 19, 2013, 2:20 PM