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
Aniket Narvankar
558
2.1k
605.1k
C Sharp .Net Escape Sequences Issue
Jun 25 2020 10:14 AM
I have text stored in table in Sql
Following is the text content for example is
Text Content :- Click on the following link to visit google https://www.google.com
Now I want to return this message through api in my application,for this I am fetching this data and assigning to string varriable
example string message=dt.Rows[0][message].ToString(); (message is column name)
But when I am converting to string c sharp adds escape sequences for this //
For example message becomes
Click on the following link to visit google https:/\/\ww.google.com
How should I prevent this?
Kindly help me on this
Reply
Answers (
1
)
RazorPay Integration
View data from another table in listview on ASP.NET web application