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
aidin
NA
4
0
Escaping single quotes and double quotes in a String
Jan 12 2004 6:59 AM
I have a textbox in wich users can put there input. I want this String to be escaped of strange characters, single quotes and double quotes. Since I don't want my SQL query to crash, with bad user input. Is there a standard function for this in .NET ? In PHP with mysql you have the mysql_escape_string() method is there a similar method in .Net ? Keyboard
Reply
Answers (
2
)
How to print MS PowerPoint usiing C#
Combo boxes and Datasets