File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel
Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV
Excel to TSV/Excel to TSV/.NET/Excel to TSV/Excel to TSV
Pivot Table/Format Pivot Table/.NET/Format Pivot Table/Format Pivot Table Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public static void Main(string[] args)
1717 IWorksheet worksheet = workbook . Worksheets [ 0 ] ;
1818
1919 //Saving the workbook as stream
20- FileStream outputStream = new FileStream ( Path . GetFullPath ( "Output/Output .xlsx" ) , FileMode . Create , FileAccess . Write ) ;
20+ FileStream outputStream = new FileStream ( Path . GetFullPath ( "Output/CSV to Excel .xlsx" ) , FileMode . Create , FileAccess . Write ) ;
2121 workbook . SaveAs ( outputStream ) ;
2222
2323 //Dispose streams
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public static void Main(string[] args)
1414 IWorkbook workbook = application . Workbooks . Open ( inputStream ) ;
1515
1616 //Saving the workbook as streams
17- FileStream outputStream = new FileStream ( Path . GetFullPath ( "Output/Sample .csv" ) , FileMode . Create , FileAccess . ReadWrite ) ;
17+ FileStream outputStream = new FileStream ( Path . GetFullPath ( "Output/Excel to CSV .csv" ) , FileMode . Create , FileAccess . ReadWrite ) ;
1818 workbook . SaveAs ( outputStream , "," ) ;
1919
2020 //Dispose streams
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public static void Main(string[] args)
1515 IWorkbook workbook = application . Workbooks . Open ( inputStream ) ;
1616
1717 //Save the workbook in CSV format with tab(\t) as delimiter
18- FileStream outputStream = new FileStream ( Path . GetFullPath ( "Output/Output .tsv" ) , FileMode . Create , FileAccess . ReadWrite ) ;
18+ FileStream outputStream = new FileStream ( Path . GetFullPath ( "Output/Excel to TSV .tsv" ) , FileMode . Create , FileAccess . ReadWrite ) ;
1919 workbook . SaveAs ( outputStream , "\t " ) ;
2020 }
2121 }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ static void Main(string[] args)
2121
2222 #region Save
2323 //Saving the workbook
24- FileStream outputStream = new FileStream ( Path . GetFullPath ( "Output/PivotTable .xlsx" ) , FileMode . Create , FileAccess . Write ) ;
24+ FileStream outputStream = new FileStream ( Path . GetFullPath ( "Output/FormatPivotTable .xlsx" ) , FileMode . Create , FileAccess . Write ) ;
2525 workbook . SaveAs ( outputStream ) ;
2626 #endregion
2727
You can’t perform that action at this time.
0 commit comments