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

C#

 
AnswerRe: Dynamic Polymorphism Pin
Richard MacCutchan13-Dec-10 23:49
mveRichard MacCutchan13-Dec-10 23:49 
GeneralRe: Dynamic Polymorphism Pin
Hiren solanki13-Dec-10 23:57
Hiren solanki13-Dec-10 23:57 
GeneralRe: Dynamic Polymorphism Pin
Baji Jabbar14-Dec-10 0:00
Baji Jabbar14-Dec-10 0:00 
GeneralRe: Dynamic Polymorphism Pin
Pete O'Hanlon14-Dec-10 0:43
mvePete O'Hanlon14-Dec-10 0:43 
GeneralRe: Dynamic Polymorphism Pin
Richard MacCutchan14-Dec-10 1:02
mveRichard MacCutchan14-Dec-10 1:02 
Questionadding new data over ProcessLayer Pin
Erdinc2713-Dec-10 22:12
Erdinc2713-Dec-10 22:12 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki13-Dec-10 23:17
Hiren solanki13-Dec-10 23:17 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2713-Dec-10 23:46
Erdinc2713-Dec-10 23:46 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki13-Dec-10 23:55
Hiren solanki13-Dec-10 23:55 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 0:15
Erdinc2714-Dec-10 0:15 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 0:23
Hiren solanki14-Dec-10 0:23 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 0:40
Erdinc2714-Dec-10 0:40 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 0:45
Hiren solanki14-Dec-10 0:45 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 0:47
Erdinc2714-Dec-10 0:47 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 0:52
Hiren solanki14-Dec-10 0:52 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 1:31
Erdinc2714-Dec-10 1:31 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 2:16
Erdinc2714-Dec-10 2:16 
AnswerRe: adding new data over ProcessLayer Pin
Hiren solanki14-Dec-10 3:38
Hiren solanki14-Dec-10 3:38 
GeneralRe: adding new data over ProcessLayer Pin
Erdinc2714-Dec-10 4:50
Erdinc2714-Dec-10 4:50 
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 
Hey all thanks for the help in my last post =^)

Now i got this... seems to be the most simplest project for class but its driving me MAD haha.

All i need to do is read and write the data from a xml file to a listview and also include the names i type into my form.

This is what i was using to test the reading of a xml file, but im only getting the last line of the xml not the whole thing.

private void btnShowAll_Click(object sender, EventArgs e)
        {
            string sOut;
            XmlDocument myDoc = new XmlDocument();
            try
            {
                myDoc.Load("people.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;
                    txtBox.Text = sOut;
                }
            }
        }

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 

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.