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

Top 5 Contributors of the Month
david stephan
Santhakumar Munuswamy
Fauzul Azmi
Asad Ali

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

File Reading in C# Windows Application

Posted By: Madhu Gowda     Posted Date: September 22, 2011    Points:5   Category :Windows Application
Hi all,

i am writing an application which is reading a file
but i want to know how to write an application which will read files from a particular folder.

please help me

thank you,

Author: Nitric             
Posted Date: September 22, 2011     Points: 20   

What sort of files are you trying to read?

You can use the DirectoryInfo class and the FileInfo class to retrieve file and directory info then use streamreaders to process the files.

However, some file types have much better methods for processing, such as XML which can be read straight into a dataset.

Author: Narayanan             
Posted Date: September 22, 2011     Points: 20   

I think, It may be useful

Regards, Lakshmi Naraayanan.S
Author: kamlesh             
Posted Date: September 30, 2011     Points: 20   

check this


Thanks And Regards.
Kamlesh Nikam

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

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