Git Product home page Git Product logo

exportable's People

Contributors

vvenegasv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

exportable's Issues

Guide issue

Thank you for this nice library .
There is an issue with guide data type as it returns error "can't convert System.guide to string"
to solve this issue we have to change ExcelExportEngine line 255 to use convert.ToString(propValue) instead of direct string casting (string)
var cellValue = Convert.ToString(propValue); (this will solve guide casting issue )
instead of
var cellValue = (string)propValue; (this will return error with guide)

Regards,

Try the most simple case and fail

Could not load file or assembly 'Infodinamica.Framework.Core, Version=3.2.0.29908, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

at Infodinamica.Framework.Exportable.Tools.MetadataHelper.GetHeadersFormat(Type type)
at Infodinamica.Framework.Exportable.Engines.Excel.ExcelExportEngine.CreateSheet(KeyValuePair`2 excelSheet)
at Infodinamica.Framework.Exportable.Engines.Excel.ExcelExportEngine.Export()

Generated XLSX corrupted

Hi,

Great project, I love it!
I encountered the issue of being unable to open the generated XLSX with Excel 2019, the error stating file was corrupted. However, updating NPOI and SharpZipLib packages to their latest versions (NPOI version 2.4.1 and SharpZipLib version1.2.0) resolved the issue for me, so I thought it'd be good idea for you to update them in repo, too.

Cheers,
Antonia

[Bug] Using ClassName Attribute for naming column throw a exception when inserts two columns with the same name

Naming the column's name attribute with the same name generates an exception.

Example: (For the sake of the simplicity I be cut off some part of the class content )

[ExportableExcelHeader(BackColor = "#FF0000", BorderColor = "#FF0000", FontName = "Calibri")]
    public class ShipmentFileExport
    {
 .........

       
        [Exportable(7, "Nombre*", FieldValueType.Text)]
        public string NombreDestinatario { get; set; }

        [Exportable(8, "Apellido *", FieldValueType.Text)]
        public string ApellidoDestinatario { get; set; }

        [Exportable(9, "DNI", FieldValueType.Numeric)]
        public int DniDestinatario { get; set; }

        [Exportable(10, "Email", FieldValueType.Text)]
        public string EmailDestinatario { get; set; }

.........

       [Exportable(21, "Nombre *", FieldValueType.Text)]
        public string NombreRemitente { get; set; }

        [Exportable(22, "Apellido *", FieldValueType.Text)]
        public string ApellidoRemitente { get; set; }

        [Exportable(23, "DNI", FieldValueType.Numeric)]
        public int DniRemitente { get; set; }

        [Exportable(24, "Email *", FieldValueType.Text)]
        public string EmailRemitente { get; set; }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.