Skip to content

ExcelReader latest version(3.7.0-develop00310) is not working #1

@svadivel0006

Description

@svadivel0006

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions