Merge fields or same

in example AlternatingRowsDemo for aspose.word shows how easy can data puts to word document. how can i do the same in excel or i must build all document in code? what about formatting while building?

Hi,

Please check the source code of the following demos, the demos get installed when you install Aspose.Cells component using Aspose.Cells.msi. You may write code using Aspose.Cells APIs. In these demos you can see that alternatively rows are formatted.

http://www.aspose.com/Products/Aspose.Cells/Demos/SchoolReport.aspx

http://www.aspose.com/Products/Aspose.Cells/Demos/BusinessReports.aspx

Further, you may check "Working with Data Formatting" section @:

Thank you.