.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

how to read all the xml files from a directory and subdirectory

Posted By: Deco     Posted Date: August 05, 2013    Points:5   Category :C#
Please get me the code to recursively read all the xml files from a folder and sub-folders inside that folder.

Responses
Author: Akhil Raj       [Moderator]      
Posted Date: August 14, 2013     Points: 20   

You can use Directory.GetFiles()

Check the following help. The recursive loop can be found at the end

http://msdn.microsoft.com/en-us/library/07wt70x2.aspx



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend