I have already have some code to print the gridview,
Its not the problem.
When my gridview having more columns That time I need to print the gridview
into many pages, like for the first page 1-10 columns
for the second page 11-20 columns,
But I need to click only once the print button in the print dialog box.