Skip to content

Commit 0959a95

Browse files
authored
Merge pull request #134 from SyncfusionExamples/HelpbotChanges
Playground sample changes
2 parents 24fab58 + 6d4f74e commit 0959a95

File tree

906 files changed

+4151
-1380
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

906 files changed

+4151
-1380
lines changed

CSV to Excel/CSV to Excel/.NET/CSV to Excel/CSV to Excel/CSV to Excel.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
<None Update="Data\*">
1717
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1818
</None>
19+
<None Update="Output\*">
20+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
21+
</None>
1922
</ItemGroup>
2023

2124
</Project>
2225

26+
27+

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

Lines changed: 5 additions & 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("Output.xlsx", FileMode.Create, FileAccess.Write);
20+
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Output.xlsx"), FileMode.Create, FileAccess.Write);
2121
workbook.SaveAs(outputStream);
2222

2323
//Dispose streams
@@ -27,3 +27,7 @@ public static void Main(string[] args)
2727
}
2828
}
2929
}
30+
31+
32+
33+

Chart to Image/Chart to Image/.NET/Chart to Image/Chart to Image/Chart to Image.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
<None Update="Data\*">
1515
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1616
</None>
17+
<None Update="Output\*">
18+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
19+
</None>
1720
</ItemGroup>
1821

1922
</Project>
2023

24+
25+

Chart to Image/Chart to Image/.NET/Chart to Image/Chart to Image/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static void Main(string[] args)
2727

2828
#region Save
2929
//Saving the workbook
30-
FileStream outputStream = new FileStream("Image.png", FileMode.Create, FileAccess.Write);
30+
FileStream outputStream = new FileStream(Path.GetFullPath("Output/Image.png"), FileMode.Create, FileAccess.Write);
3131
chart.SaveAsImage(outputStream);
3232
#endregion
3333

@@ -39,3 +39,7 @@ static void Main(string[] args)
3939
}
4040
}
4141

42+
43+
44+
45+

Conditional Formatting/Above and Below Average/.NET/Above and Below Average/Above and Below Average/Above and Below Average.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
<None Update="Data\*">
1515
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1616
</None>
17+
<None Update="Output\*">
18+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
19+
</None>
1720
</ItemGroup>
1821

1922
</Project>
2023

24+
25+

Conditional Formatting/Above and Below Average/.NET/Above and Below Average/Above and Below Average/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static void Main(string[] args)
3232

3333
#region Save
3434
//Saving the workbook
35-
FileStream outputStream = new FileStream("AboveAndBelowAverage.xlsx", FileMode.Create, FileAccess.Write);
35+
FileStream outputStream = new FileStream(Path.GetFullPath("Output/AboveAndBelowAverage.xlsx"), FileMode.Create, FileAccess.Write);
3636
workbook.SaveAs(outputStream);
3737
#endregion
3838

@@ -44,3 +44,7 @@ static void Main(string[] args)
4444
}
4545
}
4646

47+
48+
49+
50+

Conditional Formatting/Above and Below Standard Deviation/.NET/Above and Below Standard Deviation/Above and Below Standard Deviation/Above and Below Standard Deviation.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
<None Update="Data\*">
1515
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1616
</None>
17+
<None Update="Output\*">
18+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
19+
</None>
1720
</ItemGroup>
1821

1922
</Project>
2023

24+
25+

Conditional Formatting/Above and Below Standard Deviation/.NET/Above and Below Standard Deviation/Above and Below Standard Deviation/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static void Main(string[] args)
3535

3636
#region Save
3737
//Saving the workbook
38-
FileStream outputStream = new FileStream("AboveAndBelowStandardDeviation.xlsx", FileMode.Create, FileAccess.Write);
38+
FileStream outputStream = new FileStream(Path.GetFullPath("Output/AboveAndBelowStandardDeviation.xlsx"), FileMode.Create, FileAccess.Write);
3939
workbook.SaveAs(outputStream);
4040
#endregion
4141

@@ -47,3 +47,7 @@ static void Main(string[] args)
4747
}
4848
}
4949

50+
51+
52+
53+

Conditional Formatting/Advanced Conditional Formats/.NET/Advanced Conditional Formats/Advanced Conditional Formats/Advanced Conditional Formats.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
<None Update="Data\*">
1515
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1616
</None>
17+
<None Update="Output\*">
18+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
19+
</None>
1720
</ItemGroup>
1821

1922
</Project>
2023

24+
25+

Conditional Formatting/Advanced Conditional Formats/.NET/Advanced Conditional Formats/Advanced Conditional Formats/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void Main(string[] args)
7272

7373
#region Save
7474
//Saving the workbook
75-
FileStream outputStream = new FileStream("AdvancedCF.xlsx", FileMode.Create, FileAccess.Write);
75+
FileStream outputStream = new FileStream(Path.GetFullPath("Output/AdvancedCF.xlsx"), FileMode.Create, FileAccess.Write);
7676
workbook.SaveAs(outputStream);
7777
#endregion
7878

@@ -84,3 +84,7 @@ static void Main(string[] args)
8484
}
8585
}
8686

87+
88+
89+
90+

0 commit comments

Comments
 (0)