I got your tutorial here (https://www.aspsnippets.com/Articles/Print-functionality-in-ASP.Net-GridView-control.aspx). I tried it but got an error:
Type "StringWriter" is not defined.
I also used these namespace still it did not work:
Imports System. IO
Pls how do I correct this error.
Thank you
Lawal