随笔分类 -  Excel

摘要:在上一篇日志《用C#读取Excel返回DataSet》中,提到了用C#读取Excel的方法,可以发现,用这种方法读取excel2003完全没有问题,可是,当我们读取Excel2007时,就会发现visual studio报错:External table is not in the expected format.其实,这个错误是由于Excel版本的连接字符串引起的错误,在上一篇日志提到的方法中,... 阅读全文
posted @ 2010-11-19 21:18 leco_lin 阅读(4751) 评论(5) 推荐(1)
摘要:不添加任何 excel dll 引用,代码很简单,就不做解释了。 阅读全文
posted @ 2010-11-19 00:10 leco_lin 阅读(2394) 评论(0) 推荐(0)