csharp GenerateInTableListWithAlternateContentFromDatabaseinSpreadsheetFormat.cs

Posted

tags:

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

// For complete examples and data files, please go to https://github.com/groupdocsassembly/GroupDocs_Assembly_NET
//Setting up source spreadsheet template
const String strSpreadsheetTemplate = "Spreadsheet Templates/In-Table List with Alternate Content_DB.xlsx";
//Setting up destination document report 
const String strSpreadsheetReport = "Spreadsheet Reports/In-Table List with Alternate Content_DB Report.xlsx";
try
{
    //Instantiate DocumentAssembler class
    DocumentAssembler assembler = new DocumentAssembler();
    //Call AssembleDocument to generate In-Table List with Alternate Content Report in spreadsheet format
    assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strSpreadsheetTemplate), CommonUtilities.SetDestinationDocument(strSpreadsheetReport), DataLayer.GetProductsDataDB(), "products");
}
catch (Exception ex)
{
    Console.WriteLine(ex.Message);
}

以上是关于csharp GenerateInTableListWithAlternateContentFromDatabaseinSpreadsheetFormat.cs的主要内容,如果未能解决你的问题,请参考以下文章

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

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

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

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

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

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