Click here to Skip to main content
15,904,023 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sir,

I have developed a windows application in C# at visual studio 2005. I have make all reports in DataGridView and now I want to send those reports to Printer to print and also to excel sheet. Please tell me the c# code to do so.

Regards,

Sushil Kr. Saini
Posted

 
Share this answer
 
Comments
Rajesh Anuhya 5-Jan-11 4:06am    
Good Answer
sk saini 7-Jan-11 23:19pm    
Dear Sir,

Till now I've worked on Printing of DataGridView reply. I really appreciate you for the same. It works but still I have a problem how to set different widths of the columns.

Please explain.

Regards,

Sushil Saini
Dear Sir,

Till now I've worked on Printing of DataGridView reply. I really appreciate you for the same. It works but still I have a problem how to set different widths of the columns.

Please explain.

Regards,

Sushil Saini
 
Share this answer
 
Comments
Rajesh Anuhya 5-Jan-11 4:05am    
Your are not suppose to post it as a answer.,, Continue under your Question(Post Comment , update your Question)
sk saini 5-Jan-11 20:54pm    
Till now I've worked on Printing of DataGridView reply. I really appreciate you for the same. It works but still I have a problem how to set different widths of the columns.

Please explain.

Regards,

Sushil Saini

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