Skip to content

Commit 6bff378

Browse files
committed
documentation(EJ2-67661): UG document to save and load report using database.
1 parent 82a7c7b commit 6bff378

82 files changed

Lines changed: 74699 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
136 KB
Binary file not shown.
192 Bytes
Binary file not shown.
54 KB
Binary file not shown.

Core/PivotTable/Controllers/HomeController.cs

Lines changed: 196 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
namespace PivotTable.Models
2+
{
3+
public class PivotData
4+
{
5+
public int Sold { get; set; }
6+
public int In_Stock { get; set; }
7+
public double Amount { get; set; }
8+
public string Country { get; set; }
9+
public string Product_Categories { get; set; }
10+
public string Products { get; set; }
11+
public string Order_Source { get; set; }
12+
public string Year { get; set; }
13+
public string Quarter { get; set; }
14+
}
15+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace PivotTable.Models
2+
{
3+
public class ErrorViewModel
4+
{
5+
public string? RequestId { get; set; }
6+
7+
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using System.Collections.Generic;
2+
3+
namespace PivotTable.Models
4+
{
5+
public class PivotModel
6+
{
7+
public List<PivotData> PivotData { get; set; }
8+
}
9+
}

Core/PivotTable/PivotTable.csproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<Nullable>enable</Nullable>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="Syncfusion.EJ2.AspNet.Core" Version="20.4.0.44" />
11+
</ItemGroup>
12+
13+
</Project>

Core/PivotTable/PivotTable.sln

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.3.32929.385
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PivotTable", "PivotTable.csproj", "{8E6FC135-C046-48D6-8782-DCA417D73F3F}"
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+
{8E6FC135-C046-48D6-8782-DCA417D73F3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{8E6FC135-C046-48D6-8782-DCA417D73F3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{8E6FC135-C046-48D6-8782-DCA417D73F3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{8E6FC135-C046-48D6-8782-DCA417D73F3F}.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 = {8082EC2C-C16D-4459-A466-4743CD3F37BE}
24+
EndGlobalSection
25+
EndGlobal

Core/PivotTable/Program.cs

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
var builder = WebApplication.CreateBuilder(args);
2+
3+
// Add services to the container.
4+
builder.Services.AddControllersWithViews();
5+
6+
var app = builder.Build();
7+
8+
// Configure the HTTP request pipeline.
9+
if (!app.Environment.IsDevelopment())
10+
{
11+
app.UseExceptionHandler("/Home/Error");
12+
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
13+
app.UseHsts();
14+
}
15+
16+
app.UseHttpsRedirection();
17+
app.UseStaticFiles();
18+
19+
app.UseRouting();
20+
21+
app.UseAuthorization();
22+
23+
app.MapControllerRoute(
24+
name: "default",
25+
pattern: "{controller=Home}/{action=Index}/{id?}");
26+
27+
app.Run();

0 commit comments

Comments
 (0)