I need to generate a report file from my don net app. i need to put the data in tabulated format. ordinarily, you would expect me to use the Microsoft report viewer control. but am using sqlite, and cannot generate the report automatically. Also my report is based on a multiple tables, not on a specific table. so i decided to use RichTextFormat or Word .doc.
i need to create a report that looks like this
-------------------------------------------------------------------------
| Column 1 | Column 2 | Column 3 | Column 4 |
-------------------------------------------------------------------------
| | | | |
| | | | |
| | | | |
-------------------------------------------------------------------------
An of course the rows are not fixed but can be smaller of more. can you please guid me on the best way to do this.
Thanks
You can use interop library and write directly to Word document as well. Especially if document structure is quite simple. Disadvantages: Word must be installed on machine which will be generating report. Example below, remember to add assemblies: Microsoft.Office.Interop.Word (…\Office12\Microsoft.Office.Interop.Word.dll), Office (…\Office12\Office.dll).