日期:2014-05-18 浏览次数:20993 次
for (int k = 1; k < ds.Tables[1].Rows.Count + 1; k++) { _Excel.Sheets xlSheets = book.Sheets as Sheets; // 添加 Sheet sheet = (Worksheet)xlSheets.Add(xlSheets[1], Type.Missing, Type.Missing, Type.Missing); }