لدي ملف xml لم اتمكن من قراءته
كيف استطع قراءته ؟؟؟؟؟؟
عرض للطباعة
لدي ملف xml لم اتمكن من قراءته
كيف استطع قراءته ؟؟؟؟؟؟
اسف للتأخير أخي الحبيب:
This article describes how to use the XmlTextReader class to read Extensible Markup Language (XML) from a file. XmlTextReader provides direct parsing and tokenizing of XML and implements the XML 1.0 specification as well as the namespaces in the XML specification from the World Wide Web Consortium (W3C). This article provides fast, tokenized stream access to XML rather than using an object model such as the XML Document Object Model (DOM).
How to read XML from a file
This example uses a file named Books.xml. You can create your own Books.xml file or use the sample file that is included with the .NET Software Development Kit (SDK) QuickStarts in the following folder:
\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\QuickStart\Howto\Samples \Xml\Transformxml\Cs
You must copy Books.xml to the \Bin\Debug folder, which is located under the folder in which you create this project. Books.xml is also available for download. See to the "References" section for the download location.
Start Visual Studio 2005 or Visual Studio .NET.
Create a new Visual C# Console Application. You proceed directly to the "Complete code listing" section or continue through these steps to build the application.
Make sure that the project contains a reference to the System.Xml.dll assembly.
Specify the using directive on the System.Xml namespace so that you are not required to qualify XmlTextReader declarations later in your code. You must use
OR more Information click here
الاخ ضياء الدين ارجومنك زيارة الموقع بتجد كل الحلول ان شاء الله
http://support.microsoft.com/kb/815658/ar
تسلم اخي اسامة على الاشياء القيمة
دمت لنا فخرا