Esempio n. 1
0
 private void setExcelColumnValues(FlexCel.XlsAdapter.XlsFile xls, int rowStart, int column, String[] arr)
 {
     for (int i = 0; i < arr.Length; i++)
     {
         xls.SetCellValue(rowStart + i, column, arr[i]);
     }
 }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 public DataGridViewExcelExporter(DataGridView dgv, FlexCel.XlsAdapter.XlsFile xlsFile, DataFormatterCollection dataFormatterCollection)
 {
     if (dgv == null)
     {
         throw new ArgumentNullException("dgv");
     }
     this._dgv     = dgv;
     this._xlsFile = xlsFile;
     this.DataFormatterCollection = dataFormatterCollection;
 }