摘要:
代码如下: private void DataGridViewExportSheet(Aspose.Cells.Worksheet sheet, DataGridView dataGridView) { int irows = dataGridView.RowCount; int icols = d 阅读全文
posted @ 2021-04-20 11:48
恋上微笑的天使
阅读(1186)
评论(0)
推荐(0)
摘要:
借用NPOI来实现,要在同一Excel文件中创建多个sheet,只需要在同一个workbook中创建多个sheet即可。要注意的是,sheet的名字一定不能重复。下面是实现的代码: private void buttonTest_Click(object sender, EventArgs e) { 阅读全文
posted @ 2021-04-20 11:45
恋上微笑的天使
阅读(1410)
评论(0)
推荐(0)
浙公网安备 33010602011771号