wpfdatagrid - Code to fetch data from excel in WPF window -
hi want develop c#.net base wpf application ,in want fetch data excel file included in same project manipulate through data in wpf window.
the easiest way convert excel file csv within excel , use example http://www.codeproject.com/kb/linq/linqtocsv.aspx. wpf toolkit http://wpf.codeplex.com/ , use datagrid autogeneratecolumns="true" , set itemssource output linqtocsv.
if don't want convert csv you'll have use open xml sdk 2.0 or http://www.smartxls.com/.
Comments
Post a Comment