Project Description
LINQ to Excel

Overview
Excel.Linq project is an open source project. This project is a project for practice for me to understand the Linq.

Example

The following example finds Worksheets by Worksheet's name.
using(XlsWorkbook book = new XlsWorkbook("TestData\\100.xls")) {

    var sheets = from s in book.Worksheets
                 where s.Name == "100"
                 select s;

    foreach(var sheet in sheets) Console.WriteLine(sheet.Name);
}
Last edited Feb 18 2008 at 12:50 AM by coma2n, version 7

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Archived page comments (2)

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Version 2009.6.1.15196