TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
richard smith
1.4k
285
160.8k
String Variable in A SQL String
Jan 29 2013 10:34 AM
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?
Reply
Answers (
1
)
how to get data into dictionary collecion in c#.net?
Getting data from a selected row in a gridview