forum

Home / DeveloperSection / Forums / Read Specific textfile in streamreader

Read Specific textfile in streamreader

Anonymous User 2111 14-Nov-2013

I want to read many delimited files from a folder. However, the calling in the code is per one textfile only.

System.IO.StreamReader file =new System.IO.StreamReader(@"C:\Orders\OrdersForImport.txt");

I want the "OrdersForImport.txt" to be change.

my textfiles are OrdersForImport, OrdersForImport1, OrdersForImport2, OrdersForImport3, etc.

it is constant that the ".txt" extention will not be change. only the filenames will be change


c# c# 
Updated on 14-Nov-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By