Skip to content

Commit dc89a71

Browse files
authored
Merge pull request #220 from SyncfusionExamples/965994-PerformanceMetricsExamples
965994-Add UG for performance metrics in XlsIO
2 parents e801c09 + ffe8362 commit dc89a71

File tree

75 files changed

+1517
-0
lines changed

Some content is hidden

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

75 files changed

+1517
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36221.1 d17.14
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Boolean Data Type", "Boolean Data Type\Boolean Data Type.csproj", "{EB072FCB-A1C0-410A-B344-A6499B3539F5}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{EB072FCB-A1C0-410A-B344-A6499B3539F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{EB072FCB-A1C0-410A-B344-A6499B3539F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{EB072FCB-A1C0-410A-B344-A6499B3539F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{EB072FCB-A1C0-410A-B344-A6499B3539F5}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {614B4D12-065F-464E-A76B-4DFF9DBAC17F}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<RootNamespace>Boolean_Data_Type</RootNamespace>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="*" />
13+
</ItemGroup>
14+
15+
</Project>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using System.IO;
2+
using Syncfusion.XlsIO;
3+
4+
namespace Boolean_Data_Type
5+
{
6+
class Program
7+
{
8+
static void Main(string[] args)
9+
{
10+
using (ExcelEngine excelEngine = new ExcelEngine())
11+
{
12+
IApplication application = excelEngine.Excel;
13+
application.DefaultVersion = ExcelVersion.Xlsx;
14+
IWorkbook workbook = application.Workbooks.Create(1);
15+
IWorksheet sheet = workbook.Worksheets[0];
16+
17+
//Fill 150 rows × 10,000 columns with boolean
18+
for (int row = 1; row <= 150; row++)
19+
{
20+
for (int col = 1; col <= 10000; col++)
21+
{
22+
sheet[row, col].Boolean = (col % 2 == 0);
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}
29+
30+
31+
32+
33+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36221.1 d17.14
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DateTime Data Type", "DateTime Data Type\DateTime Data Type.csproj", "{D68248BA-2027-4784-B75F-D53179A35EDC}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{D68248BA-2027-4784-B75F-D53179A35EDC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{D68248BA-2027-4784-B75F-D53179A35EDC}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{D68248BA-2027-4784-B75F-D53179A35EDC}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{D68248BA-2027-4784-B75F-D53179A35EDC}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {BA55A4E9-EB7B-4C3C-A953-ADEC59AA88D4}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<RootNamespace>DateTime_Data_Type</RootNamespace>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="*" />
13+
</ItemGroup>
14+
15+
</Project>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using System.IO;
2+
using Syncfusion.XlsIO;
3+
4+
namespace DateTime_Data_Type
5+
{
6+
class Program
7+
{
8+
static void Main(string[] args)
9+
{
10+
using (ExcelEngine excelEngine = new ExcelEngine())
11+
{
12+
IApplication application = excelEngine.Excel;
13+
application.DefaultVersion = ExcelVersion.Xlsx;
14+
IWorkbook workbook = application.Workbooks.Create(1);
15+
IWorksheet sheet = workbook.Worksheets[0];
16+
17+
//Fill 150 rows × 10,000 columns with date
18+
for (int row = 1; row <= 150; row++)
19+
{
20+
for (int col = 1; col <= 10000; col++)
21+
{
22+
sheet[row, col].DateTime = new DateTime(2025, 1, 1).AddDays(col);
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}
29+
30+
31+
32+
33+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36221.1 d17.14
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Formula Data Type", "Formula Data Type\Formula Data Type.csproj", "{3AE6BE8A-41AC-400A-8977-2491382C6EBD}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{3AE6BE8A-41AC-400A-8977-2491382C6EBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{3AE6BE8A-41AC-400A-8977-2491382C6EBD}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{3AE6BE8A-41AC-400A-8977-2491382C6EBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{3AE6BE8A-41AC-400A-8977-2491382C6EBD}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {8B84A102-A8EB-494A-8E19-43E65EA59560}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<RootNamespace>Formula_Data_Type</RootNamespace>
7+
<ImplicitUsings>enable</ImplicitUsings>
8+
<Nullable>enable</Nullable>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="*" />
13+
</ItemGroup>
14+
15+
</Project>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
using System.IO;
2+
using Syncfusion.XlsIO;
3+
4+
namespace Formula_Data_Type
5+
{
6+
class Program
7+
{
8+
static void Main(string[] args)
9+
{
10+
using (ExcelEngine excelEngine = new ExcelEngine())
11+
{
12+
IApplication application = excelEngine.Excel;
13+
application.DefaultVersion = ExcelVersion.Xlsx;
14+
IWorkbook workbook = application.Workbooks.Create(1);
15+
IWorksheet sheet = workbook.Worksheets[0];
16+
17+
//Fill 150 rows × 10,000 columns with formula
18+
for (int row = 1; row <= 150; row++)
19+
{
20+
for (int col = 1; col <= 10000; col++)
21+
{
22+
sheet[row, col].Formula = $"=SUM({row},{col})";
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}
29+
30+
31+
32+
33+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36221.1 d17.14
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Number Data Type", "Number Data Type\Number Data Type.csproj", "{227357C6-6F65-4DBD-B8ED-7028DF3CB4DD}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{227357C6-6F65-4DBD-B8ED-7028DF3CB4DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{227357C6-6F65-4DBD-B8ED-7028DF3CB4DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{227357C6-6F65-4DBD-B8ED-7028DF3CB4DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{227357C6-6F65-4DBD-B8ED-7028DF3CB4DD}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {592D6CE3-525E-470E-BE2D-5210FEC2ADAC}
24+
EndGlobalSection
25+
EndGlobal

0 commit comments

Comments
 (0)