Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to add button to print the final gridview
how can i do that?
thanks in advance!
Posted

1 solution

Don't print a grid view, print the data which you put in grid view. The idea of development of the printing code for System.Windows.Forms is clearly explained here:
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx[^].

At the end of this page, you will find a clear code sample.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900