We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Importing csv file

Having problems importing string values with with leading zeroes with aspose.cells. Version of aspose.cells is 4.4.0.5

the csv structure is somewhat like this:

"000023423","some name","LO-123412","blah"


This message was posted using Aspose.Live 2 Forum

Hi,


I am not sure about your requirement, could you elaborate it more. Aspose.Cells for .NET should work same as MS Excel. I think you may use Style.Number and Style.Custom attributes to format your data accordingly before exporting data from csv file. Please follow the links below for details:

http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/setting-display-formats-of-numbers-dates.html


If you still find the issue, kindly post your sample code with template file here, we will check it soon.

Thank you.