ExcelReader component can be used to read and convert the content of Excel 97-2003 format files into DataTables, that can easily be used in your applications. To display a sheet in a GridView control 3 lines of code needed: DataTable dtSheet1 = ExcelReader.GetSheet(Filename, 0); GVSheet1
ExcelReader component can be used to read and convert the content of Excel 97-2003 format files into DataTables, that can easily be used in your applications.
To display a sheet in a GridView control 3 lines of code needed:
DataTable dtSheet1 = ExcelReader.GetSheet(Filename, 0);
GVSheet1.DataSource = dtSheet1;
GVSheet1.DataBind();
No comments:
Post a Comment