Currently we are using EpPlus for excel calculation.
We are migrating to Aspose now.
var templateColOrder = new List();
worksheet = package.Workbook.Worksheets.SingleOrDefault(x => x.Name == Constants.TemplateType.Data_Collector);
for (int col = worksheet.Dimension.Start.Column + 1; col <= worksheet.Dimension.End.Column; col++)
templateColOrder.Add(new { Id = col - 1, ColName = worksheet.Cells[23, col].Text.Replace("\n", string.Empty) });
What will be alternate for above code? Address property of Aspose.cells.range returns a sting. So we are not able to manipulate it.
The above code is in c#