Hai Friends::
Can Anybody give Deatails Explanation of difference between xmlreader and xmltextreader.If u can Give Example with C# code.
Difference between xmlreader and xmltextreader in xml
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaish MathewsRank #225 · 11K reputationPosted Apr 14, 2010, 4:40 AM EDT
XMLTextReader is defined as another implementation of XMLReader like below
public class XmlTextReader : XmlReader
This contains some extra methods like "ResetState", which is not available in XMLReader
XMLReader is the root level class defined like below
public abstract class XmlReader : IDisposable
Now in real world, Microsoft suggesting to use XMLReader after the release of 2.0 Framework. So working with XMLTextReader means
I worked with both and couldn't see any thing Xtra for my need using XMLTextReader. It may be based on my need. So if you can implement your functionality with XMLReader go with that. Becasue that's the standard one now. Only go with XMLTextReader, something like ResetState mentioned above
Smart LuckyRank #2,625 · 531 reputationPosted Jan 5, 2011, 8:35 PM EST
Every body
Ican you further explain xmltextreader vs xmldreader and xmldatadocument vs xmldocumnet in asp.net with c#
and can you send on may email address [email protected], [email protected].
I will thank full to you
thnx