Recommended

Skip Navigation LinksHome / News / View News

Binding Excel to Silverlight 3 DataGrid

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Jun 02, 2009
(0 votes)

In this article you will find how to bind an Excel spreadsheet (.xlsx) to datagrid using Silverlight 3.

I use a class to transform each dictionary key into a property of anonymous typed object this came from and is downloadable (http://blog.bodurov.com/How-to-Bind-Silverlight-DataGrid-From-IEnumerable-of-IDictionary). Also use an unzipped which is very handy from (http://www.sharpgis.net/post/2009/04/21/REALLY-small-unzip-utility-for-Silverlight.aspx). This blog also shows how to get around the header issues which are are an issuse in the first blog (first URL) by binding different data to the key of the dictionary and that is used in the header itself.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 2 and type the answer here:

Join the free SilverlightShow webcast 'Running Silverlight Outside the Browser and with Elevated Trust'. Sept 7th, 8 am - 9 am PDT.
In this live session Chris Anderson will cover configuring and debugging OOB mode, toast notifications, elevated trust, direct file access and much more.
Learn more | Register | See more webinars (hide this)