Click here to Skip to main content
15,918,808 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
can anybody explain me about this following error..

The type or namespace name 'XmlTextReader' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\abc\My Documents\Visual Studio 2005\WebSites\test\Default2.aspx.cs

Thanks in advance.
Posted

You need to add this to the top of your class:

using System.Xml;

The error is telling you exactly what is wrong!
 
Share this answer
 
Comments
sahabiswarup 5-Jul-11 7:45am    
Thanks..
Right click references and add System.xml.dll to your project.
 
Share this answer
 
Comments
sahabiswarup 5-Jul-11 7:45am    
thanks..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900