Click here to Skip to main content
15,887,285 members
Home / Discussions / C#
   

C#

 
Questionget ip from a disconnected network interface Pin
caradri13-Dec-10 19:37
caradri13-Dec-10 19:37 
AnswerRe: get ip from a disconnected network interface Pin
Roger Wright14-Dec-10 18:39
professionalRoger Wright14-Dec-10 18:39 
QuestionReading Xml to and fro Pin
squerley13-Dec-10 5:02
squerley13-Dec-10 5:02 
AnswerRe: Reading Xml to and fro Pin
_Erik_13-Dec-10 5:15
_Erik_13-Dec-10 5:15 
GeneralRe: Reading Xml to and fro Pin
RaviRanjanKr13-Dec-10 5:43
professionalRaviRanjanKr13-Dec-10 5:43 
GeneralRe: Reading Xml to and fro Pin
squerley13-Dec-10 5:48
squerley13-Dec-10 5:48 
GeneralRe: Reading Xml to and fro Pin
_Erik_13-Dec-10 6:03
_Erik_13-Dec-10 6:03 
AnswerRe: Reading Xml to and fro PinPopular
RaviRanjanKr13-Dec-10 5:42
professionalRaviRanjanKr13-Dec-10 5:42 
Yes Erik pointed you what mistake you have done whatever, take a snap of this code. it include a little bit modification and display all lines of XML file

string sOut ="";
            XmlDocument myDoc = new XmlDocument();
            try
            {
                myDoc.Load(@"F:\Images.xml");
            }
            catch (Exception xmle)
            {
                MessageBox.Show(xmle.Message, "Error", MessageBoxButtons.RetryCancel, MessageBoxIcon.Error);
                return;
            }
           // txtBox.Text = "";
            XmlNodeList nodeList = myDoc.DocumentElement.ChildNodes;
            foreach (XmlNode PersonNode in nodeList)
            {
                foreach (XmlNode PersonTag in PersonNode.ChildNodes)
                {
                    sOut += PersonTag.Name + "\t" + PersonTag.FirstChild.Value +"\r\n";

                    txtBox.Text = sOut;
                }
             
            }

GeneralRe: Reading Xml to and fro Pin
ShilpaKumari13-Dec-10 5:57
ShilpaKumari13-Dec-10 5:57 
GeneralRe: Reading Xml to and fro Pin
RaviRanjanKr13-Dec-10 6:08
professionalRaviRanjanKr13-Dec-10 6:08 
GeneralRe: Reading Xml to and fro Pin
squerley13-Dec-10 5:58
squerley13-Dec-10 5:58 
GeneralRe: Reading Xml to and fro Pin
RaviRanjanKr13-Dec-10 6:05
professionalRaviRanjanKr13-Dec-10 6:05 
GeneralRe: Reading Xml to and fro Pin
squerley13-Dec-10 6:25
squerley13-Dec-10 6:25 
GeneralRe: Reading Xml to and fro Pin
squerley13-Dec-10 6:13
squerley13-Dec-10 6:13 
GeneralRe: Reading Xml to and fro Pin
RaviRanjanKr13-Dec-10 6:19
professionalRaviRanjanKr13-Dec-10 6:19 
GeneralRe: Reading Xml to and fro Pin
ShilpaKumari13-Dec-10 6:28
ShilpaKumari13-Dec-10 6:28 
GeneralRe: Reading Xml to and fro [modified] Pin
squerley13-Dec-10 6:37
squerley13-Dec-10 6:37 
QuestionCPU jumps from 16% to 78% Pin
Jassim Rahma13-Dec-10 2:47
Jassim Rahma13-Dec-10 2:47 
AnswerRe: CPU jumps from 16% to 78% Pin
Luc Pattyn13-Dec-10 3:16
sitebuilderLuc Pattyn13-Dec-10 3:16 
GeneralRe: CPU jumps from 16% to 78% Pin
Jassim Rahma13-Dec-10 3:27
Jassim Rahma13-Dec-10 3:27 
QuestionRe: CPU jumps from 16% to 78% Pin
Luc Pattyn13-Dec-10 3:34
sitebuilderLuc Pattyn13-Dec-10 3:34 
GeneralRe: CPU jumps from 16% to 78% Pin
Dave Kreskowiak13-Dec-10 8:54
mveDave Kreskowiak13-Dec-10 8:54 
AnswerRe: CPU jumps from 16% to 78% Pin
fjdiewornncalwe13-Dec-10 8:32
professionalfjdiewornncalwe13-Dec-10 8:32 
GeneralRe: CPU jumps from 16% to 78% Pin
Jassim Rahma14-Dec-10 2:32
Jassim Rahma14-Dec-10 2:32 
QuestionWindow open and close effect with c# in windows application Pin
Tridip Bhattacharjee13-Dec-10 2:13
professionalTridip Bhattacharjee13-Dec-10 2:13 

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.