Or:
From a Directory (e.g., all .xlsx
files)
Sign up here with your email
.Net tips,.Net Interview Tips,Sql Server,Jquery,Javascript notes,AngularJS,Asp.net,Ajax
string[] tFile = { "file1.txt", "file2.csv", "file3.xlsx" };
Or:
string[] tFile = new string[3];
tFile[0] = "file1.txt";
tFile[1] = "file2.csv";
tFile[2] = "file3.xlsx";
.xlsx
files)
string[] tFile = Directory.GetFiles(@"C:\Exports\", "*.xlsx");
Sign up here with your email
ConversionConversion EmoticonEmoticon