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
Devendra Kumar
NA
500
164.4k
Single quote problem in Datatable.Select
Aug 17 2017 12:25 PM
Hello
I got stuck while searching on a DataTable
DataTable contains data like John's
When I pass
var des = "John's";
var rows = datatable.Select($"Description = '{des}');
This throw an exception
Missing operand after n
I also tried parsing with slash but it still throws the same exception
Any solution?
Reply
Answers (
2
)
SQl Security (how to ensure that my sqldatabase is secured)
C#, datagridview and iTextsharp