Hi,
Well, you may use Aspose.Cells APIs to format data (e.g apply number formattings, set cell text applying rich formatting with font options (i.e font color, font name, size, etc.), now you may save it to Excel file formats, PDF, HTML etc. But if you need to view the formatted data, you have to use corresponding viewer to open specific format, e.g
XLS, XLSX --> MS Excel or Excel Viewer
PDF --> Adobe Acrobat etc.
HTML -> Browser e.g IE, FireForx, Chrome
How could you save the richly formatted data directly into a database e.g MS Access, MS SQL Server etc. I don’t think you may store the data with its attributes (rich formatting) as you can only save pure data into the tables of a database. This is similar as you save your data to some text formats, e.g CSV, TXT, Tab Delimited where only pure data is stored. You may confirm this in MS Excel by saving data to some data sources. By the way, I think you may try to save to SpreadsheetML format, which is a kind of Excel’s XML file format.
Let me know if you still have any confusion.
Thank you.