String Variable in A SQL String
How could I use a string variable in a SQL string?
For example:
string listedCity;
"Select FName, LName, City, State, Zip, Address, Phone where City = " + listedCity + ");
But that is not correct syntax. What would be the correct syntax?