Quantcast
Channel: Excel Data Reader - Read Excel files in .NET
Viewing all 448 articles
Browse latest View live

New Post: In source code Core/ReferenceHelper.cs and SeekErrorMemoryStream.cs are missing

$
0
0
Hi,
the same happened to me. I don't think we did something wrong, the files cannot be found in source browser either.

John

Created Unassigned: First row always skipped (CreateBinaryReader, AsDataSet) [12647]

$
0
0
when reading a .xls (binary) file, the first row is missing in the returned datatables, even if IsFirstRowAsColumnNames=false

__reason__ :
in method 'readWholeWorkSheetNoIndex', line : justAddedColumns = true; is not at the right place

__Patch__ :
```
if (triggerCreateColumns)
{
if (_isFirstRowAsColumnNames || (_isFirstRowAsColumnNames && m_maxRow == 1))
{
for () {...}
justAddedColumns = true; // added by jerome.raffalli
}
else {...}
triggerCreateColumns = false;
// justAddedColumns = true; // removed by jerome.raffalli
table.BeginLoadData();
}

```

Created Unassigned: Missing cell values after empty lines in a binary sheet [12648]

$
0
0
first cell after an empty row in binary .xls file is not detected.

__Reason :__
Too many calls to m_stream.Read();

__Patch :__

```
private bool moveToNextRecordNoIndex()
{
//seek from current row record to start of cell data where that cell relates to the next row record
...
m_currentRowRecord = rowRecord;
//m_depth = m_currentRowRecord.RowIndex;

int Memo_Read_Position = m_stream.Position; // Store current read position [jerome.raffalli]
//we have now found the row record for the new row, the we need to seek forward to the first cell record
XlsBiffBlankCell cell = null;
do
{...} while (cell == null);

// if searched row is < found row, remember to cancel previous reads [jerome.raffalli]
bool Cancel_Read = (m_depth < cell.RowIndex);

m_cellOffset = cell.Offset;
m_canRead = readWorkSheetRow();

// restore read position [jerome.raffalli]
if (Cancel_Read) m_stream.Seek(Memo_Read_Position, SeekOrigin.Begin);

//read last row

```

New Post: Remove formatting from file

$
0
0
I'm using the AsDataSet() method to import large Excel files into DataSets. It performs extremely well until I hit a file that has a lot of formatting. With formatting, I cancelled after ~ 30 minutes. I then opened the Excel file, removed all formatting, and it worked almost instantly.

I'm using .xls files, not .xlsx.

I might have the option of removing the formatting when they are generated, but it would be a lot easier for me if I could somehow make then work, whether it's by telling ExcelDataReader to ignore the formatting or by somehow removing it before processing.

Any ideas?

Commented Issue: Exponential problem when load a .xlsx [11773]

$
0
0
I try to load a .xlsx and the decimal number like 2345,12 look like 2,345123637347E+16, i need fix that faster, what can i do?
Comments: ** Comment from web user: BerryMayCry **

i download the latest version from nuget, but i still have the problem.
Where i can find the latest repository?

New Post: Fork to remove SharpZipLib?

$
0
0
I've grabbed the source of this project and modified it to remove the functionality related to SharpZipLib (SharpZipLib has a GPL license that is a legal problem for my product).

Is there any way to create a fork of this project to track my version? All I saw was a place to upload a patch. I'm removing functionality, so I'm assuming that my "patch" would not be welcome.

Source code checked in, #87052

$
0
0
Added additional random component to zip temp name as it was only using date, which was quite likely to clash in multithreads

Source code checked in, #87053


Reviewed: ExcelDataReader v2.1 (ene 16, 2014)

$
0
0
Rated 5 Stars (out of 5) - Very useful

New Post: Fork to remove SharpZipLib?

$
0
0
This is the problem with codeplex. No way of forking I know of for this repository. I'd much rather have the whole thing on github. Maybe I should just move it there as I seem to be the only active developer anyway.

Created Unassigned: Google drive exported xlsx is missing columns [12667]

$
0
0
I've noticed on some files exported from google drive that columns are missing when read in ExcelDataReader

Commented Issue: Exponential problem when load a .xlsx [11773]

$
0
0
I try to load a .xlsx and the decimal number like 2345,12 look like 2,345123637347E+16, i need fix that faster, what can i do?
Comments: ** Comment from web user: Ian1971 **

https://exceldatareader.codeplex.com/SourceControl/latest

New Post: Fork to remove SharpZipLib?

Commented Unassigned: Date incorrectly read as Double [11860]

$
0
0
Hi

when trying to read attached file, the reader is incorrectly reading the first column's values (from row 4 down) as double. Instead it should be either string or datetime.

Any fix/workaround for this? We really like this tool but can't use without fixing this.

Thanks,
Stevo
Comments: ** Comment from web user: jaklithn **

I get the same error but I am NOT able to do a workaround with my Excel flies.
I am using version 2.1 and only get the date as string and it is ALWAYS 1899-12-31.
Extremely confusing.
I try to format column in Excel but the result is the same.

Please come with a solution!!!
This component works perfect for my usage except for this bug.
With a failure on all dates the component is not really a valid option.

Source code checked in, #87076

$
0
0
Added test app to make it easier to quickly try out a spreadsheet

Closed Unassigned: Google drive exported xlsx is missing columns [12667]

$
0
0
I've noticed on some files exported from google drive that columns are missing when read in ExcelDataReader
Comments: Resolved with changeset 87076: Added test app to make it easier to quickly try out a spreadsheet

Commented Unassigned: Date incorrectly read as Double [11860]

$
0
0
Hi

when trying to read attached file, the reader is incorrectly reading the first column's values (from row 4 down) as double. Instead it should be either string or datetime.

Any fix/workaround for this? We really like this tool but can't use without fixing this.

Thanks,
Stevo
Comments: ** Comment from web user: Ian1971 **

@jaklithn are you able to provide a file with this issue?

New Post: Moving to github?

$
0
0
Hi everyone,

I would really like to move this project to github. There are a few reasons for this:
  1. It's quicker
  2. The UI is much better
  3. People can fork the project and contribute that way. It makes it easier for people to contribute, and that is a good thing.
  4. I'm pretty much the only active developer on this project at the moment and I really prefer git.
  5. I don't know who is actually the admin of the project any more.
So, I'd thought I'd put this up for discussion to see if anyone cared either way, or had a strong opinion about it.

Cheers
Ian

New Post: Remove formatting from file

$
0
0
That is interesting. What was the formatting? dates etc? or graphical mostly?

Source code checked in, #87092

Viewing all 448 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>