with string

M

Montaque[.NET MVP]

I have a class and one of the properties is a string.

Stored in this string is the contents of a multiline
textbox.

All is fine except for when the class object is passed to
a webservice to be saved in the database. Once passed to
the webservice all instances of \r\n (Environment.NewLine)
in the objects string property are replaced with \n -
how can happen?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top