日期:2014-05-18  浏览次数:20775 次

怎么打印有dataGridView的窗体.
那位大侠帮帮忙...

------解决方案--------------------
给你个地址:
http://www.cnblogs.com/heekui/archive/2007/05/29/764531.html
http://www.codeproject.com/KB/grid/PrintDataGrid_CS.aspx
------解决方案--------------------


Bitmap b = new Bitmap(this.Width, this.Height);
this.DrawToBitmap(b, new Rectangle(0, 0, this.Width, this.Height));

直接用窗体的DrawToBitmap. 不知LZ还有别的什么要求.