make use of separate css file for print. When you define <link
media="print" ....../> the corresponding style sheet will be applied
when the document is printed.
Create a css document that hides all the parts(by setting
display:none) other than gridview and attach this css to the page with
I hope it is helpful to you.