Browse by Tags

All Tags » OpenXML » LINQ » Useful Code Snippets
  • Using LINQ to Query Excel Tables

    [Blog Map] Excel has a very cool feature where you can declare that a range of cells is a table.  It is a feature that allows you to use Excel very much like a database.  You can add new rows as necessary, sort the table by columns, do some simple filtering, calculate the sum of columns, and more.  Each table has a unique table ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on November 14, 2008
  • Using LINQ to XML to Retrieve Content Controls in Word 2007

    Content controls are an effective way to add structure to word processing documents.  You can write a very small LINQ query to retrieve the contents of content controls.  This topic in Office Online provides more information on content controls. In an upcoming post, I’m going to show how you can write a small test harness to test code ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on August 21, 2008