-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi,
ExcelReader latest version(3.7.0-develop00310) is not working
Code:
FileStream stream = new FileStream(@"\TestCreateBugXlxs.xlsx", FileMode.Open, FileAccess.Read);
IExcelDataReader excelReader = ExcelReaderFactory.CreateOpenXmlReader(stream);
DataSet result = excelReader.AsDataSet();
==========================
Here the errors are displayed
"CS0246 The type or namespace name 'DataSet' could not be found (are you missing a using directive or an assembly reference?) TestExcelData.cs 20 Active"
and
"CS1061 'IExcelDataReader' does not contain a definition for 'AsDataSet' and no accessible extension method 'AsDataSet' accepting a first argument of type 'IExcelDataReader' could be found (are you missing a using directive or an assembly reference?) TestExcelData.cs 20 Active"
Added the below mentioned system references:
System.xml
System.Data
System.Data.DataSetExtemsion
Kindly update how this can be resolved
Regards,
Vadivel Sekar