Click here to Skip to main content
12,633,472 members (30,996 online)
   

C#

 
GeneralRe: Get data back from windows process Pin
Eddy Vluggen19-Nov-12 4:42
memberEddy Vluggen19-Nov-12 4:42 
GeneralRe: Get data back from windows process Pin
tdcmystere19-Nov-12 5:17
membertdcmystere19-Nov-12 5:17 
AnswerRe: Get data back from windows process Pin
Eddy Vluggen19-Nov-12 5:37
memberEddy Vluggen19-Nov-12 5:37 
GeneralRe: Get data back from windows process Pin
tdcmystere19-Nov-12 6:21
membertdcmystere19-Nov-12 6:21 
SuggestionRe: Get data back from windows process Pin
Eddy Vluggen19-Nov-12 6:25
memberEddy Vluggen19-Nov-12 6:25 
QuestionC# 2010 Express - SQL Server 2008 Express connection "Login failed" Pin
bneveux19-Nov-12 0:39
memberbneveux19-Nov-12 0:39 
AnswerRe: C# 2010 Express - SQL Server 2008 Express connection "Login failed" Pin
bneveux19-Nov-12 1:04
memberbneveux19-Nov-12 1:04 
QuestionWrite and read a paragraph in XML format string ? Pin
taibc18-Nov-12 17:29
membertaibc18-Nov-12 17:29 
Hi,

I have a text box in my form. I want to enter a pagraph in this text box, then store it as string (with XML format) into a table in SQL.

Because this is a paragraph, so the text value of the text box will include characters like: "\r\n" and "\r\n ".

But, I only can wirte and read "\n" of the text box in xml string, so I can't reload the original paragraph.

I used the below codes to write content of the text box:

strContent += (txtParagraph.Text != "") ? "<CONTENT>" + txtParagraph.Text + "</CONTENT>" : "<CONTENT />";


How can I write and read a below paragraph:

"Today is Monday.....

Tomorrow is Tuesday.

This month is November !"

Thanks and regards,
AnswerRe: Write and read a paragraph in XML format string ? Pin
n.podbielski18-Nov-12 21:07
membern.podbielski18-Nov-12 21:07 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc18-Nov-12 21:21
membertaibc18-Nov-12 21:21 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski18-Nov-12 22:06
membern.podbielski18-Nov-12 22:06 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc18-Nov-12 22:10
membertaibc18-Nov-12 22:10 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski18-Nov-12 22:19
membern.podbielski18-Nov-12 22:19 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc18-Nov-12 22:28
membertaibc18-Nov-12 22:28 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski18-Nov-12 22:34
membern.podbielski18-Nov-12 22:34 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc18-Nov-12 22:36
membertaibc18-Nov-12 22:36 
AnswerRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 5:18
memberPIEBALDconsult20-Nov-12 5:18 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski20-Nov-12 6:44
membern.podbielski20-Nov-12 6:44 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 7:29
memberPIEBALDconsult20-Nov-12 7:29 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski20-Nov-12 8:43
membern.podbielski20-Nov-12 8:43 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 11:45
memberPIEBALDconsult20-Nov-12 11:45 
GeneralRe: Write and read a paragraph in XML format string ? Pin
n.podbielski20-Nov-12 12:03
membern.podbielski20-Nov-12 12:03 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 14:45
memberPIEBALDconsult20-Nov-12 14:45 
GeneralRe: Write and read a paragraph in XML format string ? Pin
taibc20-Nov-12 15:30
membertaibc20-Nov-12 15:30 
GeneralRe: Write and read a paragraph in XML format string ? Pin
PIEBALDconsult20-Nov-12 18:08
memberPIEBALDconsult20-Nov-12 18:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 9 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid