csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateInTableMasterDetailReportFromJsoninSpreadsheet.c

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateInTableMasterDetailReportFromJsoninSpreadsheet.c相关的知识,希望对你有一定的参考价值。

// For complete examples and data files, please go to https://github.com/groupdocsassembly/GroupDocs_Assembly_NET
//setting up source 
const String strDocumentTemplate = "Spreadsheet Templates/In-Table Master-Detail.xlsx";
//Setting up destination 
const String strDocumentReport = "Spreadsheet Reports/In-Table Master-Detail_Json Report.xlsx";
try
{
    //Instantiate DocumentAssembler class
    DocumentAssembler assembler = new DocumentAssembler();//initialize object of DocumentAssembler class 
    //Call AssembleDocument to generate In-Table Master-Detail report in spreadsheet format
    assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strDocumentTemplate), CommonUtilities.SetDestinationDocument(strDocumentReport), DataLayer.GetCustomerDataFromJson(), "customers");
}
catch (Exception ex)
{
    Console.WriteLine(ex.Message);
}

以上是关于csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateInTableMasterDetailReportFromJsoninSpreadsheet.c的主要内容,如果未能解决你的问题,请参考以下文章

csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateBubbleChartFromJsoninWord.cs

csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateBulletedListFromJsoninExcel.cs

csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateBulletedListFromJsoninPresentation.cs

csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateBulletedListFromJsoninWord.cs

csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateChartWithFilteringGroupingAndOrderingFromJsoninP

csharp 示例 - CSHARP - 报告 - GenerateReport-GenerateChartWithFilteringGroupingAndOrderingFromJsoninS