请下载最新版本 错误修正: 1、private void Export2Excel(DataGridView datagridview, bool captions) int i = 0; int c = 0; int m = 0; for (c = 0; c < datagridview.Columns.Count; c++) { for (int j = 0; j 0) return; //此行这样修改 3、private int _cellHeight = 23; //原来是17,
张志晨VB2010实例教程之窗体打印2011-10-07 07:06VB升级到2010后,许多网友不会在窗体上打印了。 print不可用了 wirte无效 经过研究,我编写了一个函数: '窗体打印函数及扩展 Function formPrint(ByVal obj As Object, _ ByVal font As String, _ ByVal fontsize As Double, _ ByVal x As Double, _ ByVal y As Double, _ ByVal str