摘要:
public void OutputExcel(DataView dv, string str) { //dv为要输出到Excel的数据,str为标题名称 GC.Collect(); Application excel; int rowIndex = 4; int colIndex = 1; _Workbook xBk; _Worksheet xSt; excel = new ApplicationClass(); xBk = excel.Workbooks.Add(true); xSt = (_Worksheet)xBk.ActiveSheet; // //取得标题 // fore... 阅读全文