Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: Setup File Pin
Dalek Dave11-Mar-11 13:52
professionalDalek Dave11-Mar-11 13:52 
QuestionFinding controls [modified] Pin
Orcun Iyigun11-Mar-11 7:02
Orcun Iyigun11-Mar-11 7:02 
AnswerRe: Finding controls Pin
OriginalGriff11-Mar-11 9:09
mveOriginalGriff11-Mar-11 9:09 
GeneralRe: Finding controls Pin
Orcun Iyigun11-Mar-11 9:50
Orcun Iyigun11-Mar-11 9:50 
AnswerRe: Finding controls Pin
GenJerDan11-Mar-11 11:26
GenJerDan11-Mar-11 11:26 
GeneralRe: Finding controls Pin
Orcun Iyigun11-Mar-11 11:32
Orcun Iyigun11-Mar-11 11:32 
GeneralRe: Finding controls Pin
GenJerDan11-Mar-11 14:44
GenJerDan11-Mar-11 14:44 
AnswerRe: Finding controls Pin
Luc Pattyn11-Mar-11 18:18
sitebuilderLuc Pattyn11-Mar-11 18:18 
GeneralRe: Finding controls Pin
GenJerDan12-Mar-11 3:01
GenJerDan12-Mar-11 3:01 
AnswerRe: Finding controls Pin
Luc Pattyn12-Mar-11 3:16
sitebuilderLuc Pattyn12-Mar-11 3:16 
AnswerRe: Finding controls Pin
JOAT-MON11-Mar-11 12:28
JOAT-MON11-Mar-11 12:28 
AnswerRe: Finding controls Pin
Dalek Dave11-Mar-11 14:13
professionalDalek Dave11-Mar-11 14:13 
AnswerRe: Finding controls Pin
Luc Pattyn11-Mar-11 18:16
sitebuilderLuc Pattyn11-Mar-11 18:16 
Questionstring.split question Pin
jashimu11-Mar-11 4:59
jashimu11-Mar-11 4:59 
AnswerRe: string.split question Pin
Luc Pattyn11-Mar-11 5:12
sitebuilderLuc Pattyn11-Mar-11 5:12 
AnswerRe: string.split question Pin
Dan Mos11-Mar-11 5:18
Dan Mos11-Mar-11 5:18 
AnswerRe: string.split question Pin
Dalek Dave11-Mar-11 5:19
professionalDalek Dave11-Mar-11 5:19 
AnswerRe: string.split question Pin
#realJSOP12-Mar-11 3:41
professional#realJSOP12-Mar-11 3:41 
QuestionXML File user output [modified] Pin
Pierre besquent10-Mar-11 23:27
Pierre besquent10-Mar-11 23:27 
AnswerRe: XML File user output Pin
Tarun.K.S10-Mar-11 23:55
Tarun.K.S10-Mar-11 23:55 
GeneralRe: XML File user output Pin
Pierre besquent11-Mar-11 0:05
Pierre besquent11-Mar-11 0:05 
GeneralRe: XML File user output Pin
Tarun.K.S11-Mar-11 0:08
Tarun.K.S11-Mar-11 0:08 
xmlDoc is an object of XmlDocument. It will contain your MyFile.xml .
C#
XmlDocument xmlDoc=new XmlDocument();
xmlDoc.Load(@"C:\Documents and Settings\My Documents\Visual Studio\MyFile.xml");


and xmlDoc.OuterXml will give you the whole contents of the xml which will be used to write to the new file.

People with high attitude deserve the standing ovation of our highest finger!

My Technical Blog![^]

GeneralRe: XML File user output Pin
Pierre besquent11-Mar-11 4:28
Pierre besquent11-Mar-11 4:28 
GeneralRe: XML File user output Pin
Tarun.K.S11-Mar-11 6:46
Tarun.K.S11-Mar-11 6:46 
GeneralRe: XML File user output Pin
Pierre besquent13-Mar-11 22:12
Pierre besquent13-Mar-11 22:12 

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.