this is how my webpage looks like when you select semester from dropdown and click submit , gridview shows data accordingly. And student info above gridview is also fetched from database.
Asked
Active
Viewed 22 times
-2
-
Create an HTML page and bind value to a variable then convert HTML to pdf. – SUNIL DHAPPADHULE Jun 02 '22 at 14:12
-
You can use CSS to hide parts of your page from the printer (`@media print`) – Hans Kesting Jun 02 '22 at 15:34
-
If you have reporting services you can build your report there and then call the export with the PDF format in the url param – JobesK Jun 02 '22 at 20:34
-
I have used simple asp.net and ado to make these pages and a master page – Divyaraj Dodia Jun 03 '22 at 04:31
-
How are you creating that PDF? If it's just "print the web page to a PDF-printer", then CSS is the [simplest solution](https://stackoverflow.com/a/4816972/121309) – Hans Kesting Jun 03 '22 at 13:01