Click here to Skip to main content
       

C#

 
GeneralRe: Assigning Variables in C# for ORACLE PinmemberEddy Vluggen5-Nov-12 23:45 
GeneralRe: Assigning Variables in C# for ORACLE PinmemberKingJames066-Nov-12 14:38 
GeneralRe: Assigning Variables in C# for ORACLE PinmemberEddy Vluggen6-Nov-12 22:45 
QuestionC#, Win'7, Port Mystery PinmemberC-P-User-35-Nov-12 12:49 
AnswerRe: C#, Win'7, Port Mystery PinprotectorPete O'Hanlon5-Nov-12 22:18 
GeneralRe: C#, Win'7, Port Mystery PinmemberC-P-User-36-Nov-12 6:03 
QuestionReading XML PinmemberKevin Marois5-Nov-12 7:34 
AnswerRe: Reading XML PinmemberEddy Vluggen5-Nov-12 8:25 
Kevin Marois wrote:
What's wrong here?

I cannot say whether or not this used to work; but when debugging, it tries to iterate the children of the first element. The first element being the <xml> tag, and it has no children.
            XmlTextReader reader = new XmlTextReader(path);
            XmlDocument doc = new XmlDocument();
            reader.MoveToContent();
            XmlNode node = doc.ReadNode(reader);
http://msdn.microsoft.com/en-us/library/system.xml.xmlreader.movetocontent.aspx[^]
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: Reading XML PinmemberKevin Marois5-Nov-12 10:09 
GeneralRe: Reading XML [modified] PinmemberEddy Vluggen5-Nov-12 10:20 
AnswerRe: Reading XML PinmemberClifford Nelson5-Nov-12 12:23 
QuestionGenerics? PinmemberDavid Knechtges5-Nov-12 5:50 
AnswerRe: Generics? PinmemberAlan Balkany5-Nov-12 5:53 
AnswerRe: Generics? Pinmemberharold aptroot5-Nov-12 5:59 
AnswerRe: Generics? PinmemberMatt T Heffron5-Nov-12 11:29 
QuestionMy DataGridView - FirstDisplayedScrollingRowIndex PinmemberParamu19735-Nov-12 5:06 
QuestionGetter PinmemberC-P-User-35-Nov-12 2:49 
AnswerRe: Getter PinmemberJ4amieC5-Nov-12 3:01 
GeneralRe: Getter [modified] PinmemberC-P-User-35-Nov-12 4:30 
GeneralRe: Getter PinmvpDave Kreskowiak5-Nov-12 4:43 
GeneralRe: Getter PinmemberJ4amieC5-Nov-12 4:44 
GeneralRe: Getter PinprotectorPete O'Hanlon5-Nov-12 4:47 
AnswerRe: Getter PinmvpAbhinav S5-Nov-12 5:37 
GeneralRe: Getter PinmemberC-P-User-35-Nov-12 7:18 
GeneralRe: Getter PinprotectorPete O'Hanlon5-Nov-12 8:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 30 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid