Hai Friends::
Can Anybody give Deatails Explanation of difference between xmlreader and xmltextreader.If u can Give Example with C# code.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaish MathewsPosted Apr 14, 2010, 8:40 AM
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 LuckyPosted Jan 6, 2011, 1:35 AM
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