C#读取execl到datatable,设置execl单元格颜色
摘要:
public class OperateExecl { //读取execl到datatablepublic static DataTable ReadFile(string path) { string strConn=""; if (Path.GetExtension(path).ToLower().Equals(".xlsx")) //Excel2007 { strConn = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + path + ";Extended Pr 阅读全文
posted @ 2013-09-24 16:06 习惯简单 阅读(1411) 评论(0) 推荐(0) 编辑