so, could you please give me an example for doing this?..
Thanks for your posting and using Aspose.Cells.
If you know the row or column and you want to apply style, then you can use the Row.ApplyStyle() or Column.ApplyStyle() method.
Amjad has given you the example on this post: 547559.
Please check these lines.
//Now apply the top and bottom borders with number formattings and alignment to both entire rows.
cells.ApplyRowStyle(row1, stotal, flag1);
cells.ApplyRowStyle(row2, stotal, flag1);
Here, he is using Cells.ApplyRowStyle() but you can also use the Row.ApplyStyle() to get the same effect.