Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: Tag name 2 Pin
Paul Conrad25-Aug-07 9:26
professionalPaul Conrad25-Aug-07 9:26 
AnswerRe: Tag name Pin
Luc Pattyn24-Aug-07 23:33
sitebuilderLuc Pattyn24-Aug-07 23:33 
GeneralRe: Tag name Pin
ytubis24-Aug-07 23:45
ytubis24-Aug-07 23:45 
Questionwebhosting Pin
kalyan_241624-Aug-07 22:53
kalyan_241624-Aug-07 22:53 
Answerummk Pin
invalidsyntax101025-Aug-07 7:28
invalidsyntax101025-Aug-07 7:28 
QuestionHow to catch Url from internet explorer in my Downloader? Pin
Pinkesh Gandhi24-Aug-07 22:50
Pinkesh Gandhi24-Aug-07 22:50 
QuestionReusing a socket Pin
Chals24-Aug-07 22:30
Chals24-Aug-07 22:30 
Question)c# Pin
lankaudaranga24-Aug-07 22:20
lankaudaranga24-Aug-07 22:20 
AnswerRe: )c# Pin
Christian Graus25-Aug-07 0:50
protectorChristian Graus25-Aug-07 0:50 
GeneralRe: )c# Pin
Paul Conrad25-Aug-07 9:28
professionalPaul Conrad25-Aug-07 9:28 
Questionc# Pin
lankaudaranga24-Aug-07 22:10
lankaudaranga24-Aug-07 22:10 
AnswerRe: c# Pin
Rami Said Abd Alhalim25-Aug-07 2:57
Rami Said Abd Alhalim25-Aug-07 2:57 
AnswerRe: c# Pin
Paul Conrad25-Aug-07 9:28
professionalPaul Conrad25-Aug-07 9:28 
QuestionIs there a solution to this problem? (Permanent casting) [modified] Pin
zsavas24-Aug-07 21:14
zsavas24-Aug-07 21:14 
AnswerRe: Is there a solution to this problem? (Permanent casting) Pin
Christian Graus24-Aug-07 21:30
protectorChristian Graus24-Aug-07 21:30 
GeneralRe: Is there a solution to this problem? (Permanent casting) Pin
zsavas24-Aug-07 22:30
zsavas24-Aug-07 22:30 
GeneralRe: Is there a solution to this problem? (Permanent casting) Pin
Christian Graus25-Aug-07 0:51
protectorChristian Graus25-Aug-07 0:51 
AnswerRe: Is there a solution to this problem? (Permanent casting) Pin
Urs Enzler24-Aug-07 23:32
Urs Enzler24-Aug-07 23:32 
AnswerRe: Is there a solution to this problem? (Permanent casting) Pin
PhilipPainter27-Aug-07 11:38
PhilipPainter27-Aug-07 11:38 
Questioncopy Xml to Xml files Pin
ytubis24-Aug-07 20:44
ytubis24-Aug-07 20:44 
AnswerRe: copy Xml to Xml files Pin
Christian Graus24-Aug-07 21:10
protectorChristian Graus24-Aug-07 21:10 
AnswerRe: copy Xml to Xml files [modified] Pin
Hessam Jalali24-Aug-07 21:26
Hessam Jalali24-Aug-07 21:26 
You must first Import the node from another doc to yours,you can do that using ImportNode method from from XmlDocumrent instance so it would be somewhat like this

and if you want to create a whole new coy of your node pass deep argument as true otherwise just the selected node would be impoterd not the childs

XmlDocument doc1 = new XmlDocument();
doc1.AppendChild(doc1.CreateElement("MyElement"));
doc1.Save(@"N:\doc1.xml");


XmlDocument doc2 = new XmlDocument();
<code>XmlNode importedNode = doc2.ImportNode(doc1["MyElement"], true);</code>
doc2.AppendChild(importedNode);
doc2.Save(@"N:\doc2.xml");


good luck
QuestionIO problem Pin
sianatia24-Aug-07 20:16
sianatia24-Aug-07 20:16 
AnswerRe: IO problem Pin
Christian Graus24-Aug-07 21:09
protectorChristian Graus24-Aug-07 21:09 
GeneralRe: IO problem Pin
sianatia25-Aug-07 18:14
sianatia25-Aug-07 18:14 

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.