Tutorial by Examples

//the path of the file string filePath = "C:\\ExcelDemo.xlsx"; //or if you use asp.net, get the relative path filePath = Server.MapPath("ExcelDemo.xlsx"); //create a fileinfo object of an excel file on the disk FileInfo file = new FileInfo(filePath); //create a new Ex...

Page 1 of 1