Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
Questionado Pin
maryamf23-May-06 12:59
maryamf23-May-06 12:59 
AnswerRe: ado Pin
BoneSoft23-May-06 15:14
BoneSoft23-May-06 15:14 
AnswerRe: ado Pin
MoustafaS23-May-06 15:15
MoustafaS23-May-06 15:15 
AnswerRe: ado [modified] Pin
albCode23-May-06 20:56
albCode23-May-06 20:56 
QuestionActivating child form via right mouse click Pin
marzk23-May-06 12:47
marzk23-May-06 12:47 
QuestionMulti-threading & Listening Sockets Pin
Guinness4Strength23-May-06 12:04
Guinness4Strength23-May-06 12:04 
AnswerRe: Multi-threading & Listening Sockets Pin
David Stone23-May-06 13:15
sitebuilderDavid Stone23-May-06 13:15 
Questionhow to write >, <, &to XML file Pin
donkaiser23-May-06 9:26
donkaiser23-May-06 9:26 
Hello,
I try to write these characters to an XML file. but in the XML file it shows:
> < & instead. how can i write correctly to the XML file or at least read correctly(assign the innertext to a variable)?
here is my code for writing to XML file:
XmlElement title= xmldoc.CreateElement("Title");
title.InnerText = txtName.Text;
newBook.AppendChild(title);

Donkaiser
AnswerRe: how to write >, <, &to XML file Pin
donkaiser23-May-06 9:33
donkaiser23-May-06 9:33 
GeneralRe: how to write >, <, &to XML file Pin
Robin Panther23-May-06 10:44
Robin Panther23-May-06 10:44 
AnswerRe: how to write >, <, &to XML file Pin
donkaiser23-May-06 10:54
donkaiser23-May-06 10:54 
QuestionException of type 'System.Security.SecurityException' occured Pin
Patricker23-May-06 8:27
Patricker23-May-06 8:27 
AnswerRe: Exception of type 'System.Security.SecurityException' occured Pin
James Gupta23-May-06 9:21
professionalJames Gupta23-May-06 9:21 
GeneralRe: Exception of type 'System.Security.SecurityException' occured Pin
Patricker23-May-06 10:07
Patricker23-May-06 10:07 
GeneralRe: Exception of type 'System.Security.SecurityException' occured Pin
leppie23-May-06 10:15
leppie23-May-06 10:15 
GeneralRe: Exception of type 'System.Security.SecurityException' occured Pin
Patricker23-May-06 10:21
Patricker23-May-06 10:21 
GeneralRe: Exception of type 'System.Security.SecurityException' occured Pin
James Gupta23-May-06 13:29
professionalJames Gupta23-May-06 13:29 
Questionwindows form sizing Pin
reshsilk23-May-06 8:27
reshsilk23-May-06 8:27 
AnswerRe: windows form sizing Pin
James Gupta23-May-06 9:23
professionalJames Gupta23-May-06 9:23 
QuestionUltraCombo in Infragistics Pin
Neel0723-May-06 8:16
Neel0723-May-06 8:16 
Questiona stupid problem about DateTime Pin
da vinci coder23-May-06 7:55
da vinci coder23-May-06 7:55 
AnswerRe: a stupid problem about DateTime Pin
Stefan Troschuetz23-May-06 8:16
Stefan Troschuetz23-May-06 8:16 
GeneralRe: a stupid problem about DateTime Pin
da vinci coder23-May-06 8:57
da vinci coder23-May-06 8:57 
Questiondatagridview Pin
kjosh23-May-06 6:58
kjosh23-May-06 6:58 
AnswerRe: datagridview Pin
mr_1234523-May-06 7:21
mr_1234523-May-06 7:21 

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.