Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
Unclosed quotation mark after the character string
shibasankar behera
Oct 9 2013 3:10 AM
1.5k
Reply
I am passing some query like this:
"select * from Item where Item_Name like '" + GridViewItem.Rows[0].Cells[1].ToString() + "'";
Item Name contains a single quote, so when I am passing the above error is coming.
Suggest me some answers...
Thank You...
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
MVC4 Reference and render jquery file
Datetimepicker inserted data to database