摘要: public void ExportTOExcel(DataGridView dView) { /*用的三层结构,调用了一个类*/ using (BLLConnect a = new BLLConnect()) { DataTable myDt = GetDgvToTable(dView); Sav 阅读全文
posted @ 2018-03-22 14:47 微笑! 阅读(129) 评论(0) 推荐(0) 编辑
摘要: public DataTable GetDgvToTable(DataGridView dgv) { DataTable dt = new DataTable(); for (int count = 0; count < dgv.Columns.Count; count++) { DataColum 阅读全文
posted @ 2018-03-22 14:46 微笑! 阅读(94) 评论(0) 推荐(0) 编辑