Never give up - LEO

人 只有在合适的地方 才能体现出最大的价值
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  C# and Excel

摘要:转序:最近在弄Excel导入导出,遇到了不少问题,在网上找了很多资料,但没时间写点东西,看到这篇文章很不错,就转载了,谢谢原作者。 原地址:http://blog.csdn.net/ChengKing/archive/2005/11/29/539514.aspx (一).内容 在操作Excel的过程中遇到了一些问题. 比如: 访问Com组件权限,无法读取Excel等 文章描述了怎样... 阅读全文

posted @ 2007-10-26 09:31 lizhiwen 阅读(801) 评论(0) 推荐(0)

摘要:1 public void OutPutExcel() 2 { 3 GridView gv = new GridView(); 4 DataTable dt = BuCustomers.GetAll().Tables[0]; 5 this.GridView1.DataSource = dt; 6 this.GridView1... 阅读全文

posted @ 2007-10-17 11:35 lizhiwen 阅读(534) 评论(0) 推荐(0)