Hello Folks,
We are evaluating Aspose.Cells for our export to excel requirements. Have few questions, hope you could help me.
First of all thank you guys for providing us a great tool to export our data to Pivot excel with out much hassle.
Note:-We are using
ASP.NET 4.0(IIS-7.5)1. We are not able to apply number(date/currency) format to range of cells. In the excel sheet it shows a warning “Number stored as text”, but if I right click on the cell and go to Format Cell, required number format is applied, but it wont reflect in the cell.(Please refer attached excel).
Code which apply this formatting:
foreach (var column in columnsToBeNumberFormatted)
{
var numberStyle = new Style {Number = 3};
var flag = new StyleFlag {NumberFormat = true};
var numberRange = dataWorksheet.Cells.CreateRange(3, column, dataTable.Rows.Count, 1);
numberRange.ApplyStyle(numberStyle, flag);
dataWorksheet.Cells.AddRange(numberRange);
}
2. Now the second question, How can we test the load Aspose puts on our webserver?. We use both normal excel and pivot excel in our application and we have a need to export around 7 million records with 25 columns. So we need to check how much load it puts on our server, if its too much load then we can deploy it in a separate server(or some other alternative to reduce the load).