This project is read-only.
1

Resolved

Issue with table.Fill()

description

Hi all!
I have two problems with table.Fill(). First, the first row of the table is empty and second, I can't insert decimal values.
I have attached a small C# sample with a sample excel file.
Or maybe I'm doing something wrong?
 
Thanks in advance
Christian

file attachments

comments

TimCoulter wrote Jan 15, 2010 at 3:51 PM

Hi Christian,

Thanks for your feedback. I ran your sample code and I agree with you that there is a problem with an emty row at the top of the table. I believe I missed this bug in testing because it only occurs when the table starts at cell 0,0 and all my tutorial samples use a table that starts at 1,1. I will work on this problem and post an update very soon.

Regarding the decimals problem, I am unable to see any problem when running your sample. The 5th column of your table is correctly filled with the value 55.50. I think this problem may have been fixed in a recent release (which addressed culture-specific problems when working with double and decimal values). If you are working with an old version of the library, I suggest you download the latest release and try again. If you still get the same problem with the latest release, can you please send me a copy of the XLSX output so that I can compare it to what my system is creating.

Many thanks,
Tim

TimCoulter wrote Jan 15, 2010 at 5:38 PM

Update: I have fixed the bug with the table Fill() method and updated the source repository here on CodePlex. I await your comments regarding the decimal problem and will subsequently upload a new binary release.

FlynnAtTron wrote Jan 18, 2010 at 7:42 AM

Hi Tim,

Now everything works perfectly, thank you very much! ExtremeML is really useful.

Bye, Christian

wrote Jan 18, 2010 at 8:57 AM

TimCoulter wrote Jan 20, 2010 at 1:39 PM

Update: another similar issue has been reported by a user and has (hopefully) been definitively fixed today. Please be sure to download the latest binary release to avoid this problem.

wrote Feb 14, 2013 at 3:16 AM

wrote May 16, 2013 at 8:57 AM

wrote May 16, 2013 at 8:57 AM

wrote Jun 14, 2013 at 7:53 AM