Thursday, February 21, 2013

linq to excel


How to get data from excel using linq in c#.

var excel = new ExcelQueryFactory("excelFileName");
var indianaCompanies = from c in excel.Worksheet<Company>()
                       where c.State == "IN"
                       select c;

For more information about this demo Clickhere  





No comments:

Post a Comment