Ejemplo n.º 1
0
 /// <summary>
 /// 创建单元行
 /// </summary>
 /// <param name="rows">单元行集合</param>
 private void CreateRows(IEnumerable <IRow> rows)
 {
     foreach (var row in rows)
     {
         _excel.CreateRow(row.RowIndex);
         foreach (var cell in row.Cells)
         {
             _excel.CreateCell(cell);
         }
     }
 }