随笔分类 -  c#

c#导出导出excel的两种方法
摘要:1.直接将获取了的datatable 导出成为excelprivate void proExcel_Click(object sender, EventArgs e) { System.Data.DataTable ds = new DataTable(); frmExcel get = new frmExcel(); ... 阅读全文

posted @ 2018-01-24 17:31 Freeloop_嘉 阅读(6550) 评论(0) 推荐(0)

c#Winform窗体 自动生成EXCEL并可以插入数据
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data; using System.Windows.Forms; using System.Data.OleDb;using 阅读全文

posted @ 2017-02-22 22:46 Freeloop_嘉 阅读(3079) 评论(0) 推荐(0)