I'm using Aspose.Cells for .Net 5.1.0.0.
Before I put value into certain cell, I want to set data format. For example, data value typeis DateTime, I want to set date format in the cell to "mm/dd/yyyy hh:mm". Like in MS excel, right click the cell and click "format cells", in "number" tab I can select date and corresponding format.
I did not find any functions to implement this. maybe there is similar post in this forum, but I have not found it.
Plz advise how to do this.
Thank you.
Code:
Cell cell = worksheet.Cells[1, 1];
//todo: set date format in this cell
cell.PutValue(val);