-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExcelReader latest version(3.7.0-develop00310) is not working #1
Comments
Hi, After adding the "ExcelDataReader.DataSet", the issue was resolved. The below mentioned code is not working, confirm whether this depreciated Depreciated Code: //DataSet - Create column names from first row The custom code is working: using (var reader = ExcelReaderFactory.CreateOpenXmlReader(stream))
Please confirm whether the logic for access the data set values should be implemented inside the method/block itself or can be accessed out of the block too Regards, |
Hi, Kindly find the updated issue details:
Kindly confirm the correctness, find the attachments Regards, |
Hi, Update to the issue. Added a new sheet such as "Sheet1" and when the below code is executed the success message is displayed and data reading is unsuccessful. Code:
} Screenshot: |
Please Note: The issue occurs in ".xlsx" and ".xlsb" files |
Hello Vadivel,
I had customized the code for a client’s use case long back. I am no more maintaining it so you are on your own.
Thanks,
Rishi Raj
From: ***@***.***>
Sent: 09 September 2021 04:59
To: ***@***.***>
Cc: ***@***.***>
Subject: [rishios/ExcelDataReader] ExcelReader latest version(3.7.0-develop00310) is not working (#1)
Hi,
ExcelReader latest version(3.7.0-develop00310) is not working in the Selenium C# V"4.0.0-beta4" and V4.0.0-rc1
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGDNIJZEVW3JKTXQ74WUE53UA7WVTANCNFSM5DV4ILFQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
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
The text was updated successfully, but these errors were encountered: