.net 导出html 到excel 合并单元格,C#导出Excel,并且设置Excel单元格格式,合并单元格....
注:要添加COM组件MicrosoftExcel11.0ObjectLibrary引用。具体代码如下:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Data.SqlClient;usingExcel;usingSystem.Reflection;usingSystem.Data;usingSyste