Answer the question
In order to leave comments, you need to log in
String conversion when getting from the database, how to fix it?
The table in the database stores a string with an html page, for example:
\r\n"-//W3C//DTD XHTML 1.0 Transitional//EN\"
after I pull it out using ExecuteScalar(), the following appears in the string:
" \\r\\n\\"-//W3C//DTD XHTML 1.0 Transitional//EN\\\"
how to disable this "auto-escaping"?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question