Is there an easier way to create excel report without the need to manually write out the column/rows numbers?
I like a simple method like below.
worksheet.writeline(title1)
worksheet.writeline(title2)
worksheet.writeline(title3)
foreach(var value in values)
{
worksheet.writeline(value.title1Value)
worksheet.writeline(value.title2Value)
worksheet.writeline(value.title3Value)
}
There is the ImportData function that take a list but that does not do what I want so I need to loop through each values and apply custom values.