Click here to Skip to main content
15,887,432 members
Articles / Web Development / ASP.NET

Loading Excel data into a GridView

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
7 Oct 2011CPOL 17.3K   1  
FileStream stream = File.Open(filePath, FileMode.Open, FileAccess.Read);//1. Reading from a binary Excel file ('97-2003 format; *.xls)IExcelDataReader excelReader = ExcelReaderFactory.CreateBinaryReader(stream);//...//2. Reading from a OpenXml Excel file (2007 format;...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions