You can use Stored Procedure with those 10+ complex queries. Fetch that/those resultset in a DataSet
as collection of multiple DataTable
s, and then you can manipulate those DataTable
s individually with their 'Headers'.
Print/Write multiple Select Statements into a file
-
07-07-2023 - |
Question
When I click my Print
button, I need to run 10+ complex queries on my database and write/print the results.
I need them to print in a single text file/pdf, whichever is easier.
It wouldn't be feasible to use a Gridview as I have many queries. There is no manipulation going on, just a sequence of select statements.
Do you have a tutorial I can refer to? Or a concept I can use?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow