简体   繁体   中英

Print Winforms panel and gridview in c#

New to printing and I have a form with 2 blocks. The first one is a panel with labels and textboxes arranged in 5 rows and 2 cols. Below this is a grid view that displays items. I like the present look of the form and would like to print it,as it is, just that the grid's list can go to second page too. Please tell me the best approach to start/print this.

  1. Need to remove first column from the grid which is delete button.
  2. If the list is long, the 2nd page should have the col.headers

Thank you.

(My reputation is 10 but still unable to add img.why?)

I previously write a class for Print data grid view content

Add this class to your project: print data grid view

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM