Take the 2-minute tour ×

I have win form(say form1) with datagridview which contains data and other header and footer stuffs. Now I want to print that data in my format. but I read, it is diffcult to print in win forms and require some reporting tool like Crystal report/reporting in .Net2010. Below is my requirement:

  1. I want to print win forms data into my specific format.
  2. If I use reporting tool, how to pass single paramerter and tabular data to crystal report.
  3. User just click on print button in win form(form1) and internally all data should pass into crystal report and starts to print.

Hope I have given much description. Please help and let me if the question is not clear.

share|improve this question
Could this help you? stackoverflow.com/questions/4122088/print-winform-screen –  looper Nov 20 '12 at 13:03
Printing a form isn't too difficult, the PrintForm component is readily available. But of course that can only work when your DataGridView contains so few rows that the scrollbar is not needed. The printer isn't going to operate the scrollbar. Sure, Crystal Reports and the many other report generating products solve that problem. You need to go shopping or google "print datagridview" –  Hans Passant Nov 20 '12 at 15:43

Your Answer



Browse other questions tagged or ask your own question.