Skip to content

Commit 1cfeba9

Browse files
committed
922444-Playground-Button
1 parent 977465e commit 1cfeba9

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

4 files changed

+4
-4
lines changed

CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

Excel to CSV/Excel to CSV/.NET/Excel to CSV/Excel to CSV/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

Excel to TSV/Excel to TSV/.NET/Excel to TSV/Excel to TSV/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

Pivot Table/Format Pivot Table/.NET/Format Pivot Table/Format Pivot Table/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)