摘要: 通常我们所说的三层架构指的是表示层(UI)、业务逻辑层(BLL)和数据访问层(DAL)。表示层UI: 直接和客户打交道,提供软件系统与用户交互的接口业务逻辑层BLL: 是UI和DAL连接的桥梁,负责业务的处理和数据的传递数据访问层DAL: 负责跟数据库进行直接交互 阅读全文
posted @ 2012-12-10 11:02 Wico 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 首先添加引用Microsoft.Office.Interop.Excel; /// <summary> /// 将dataGridView导出Excel /// </summary> /// <param name="dataGridView">dataGridView</param> /// <returns>返回是否导出成功,成功返回True,失败返回False</returns> public bool ExportExcel(DataGridView dataGridView) { SaveFi 阅读全文
posted @ 2012-11-02 10:27 Wico 阅读(253) 评论(5) 推荐(0) 编辑