// For complete examples and data files, please go to https://github.com/groupdocsassembly/GroupDocs_Assembly_NET
/// <summary>
/// Generates the report by using dataset.
/// </summary>
/// <param name="ds"></param>
public void GenerateReportDB(DataSet ds)
{
try
{
License lic = new License();
//lic.SetLicense(_LicensePath);
//Instantiate DocumentAssembler class
DocumentAssembler assembler = new DocumentAssembler();
//Call AssembleDocument to generate Common List Report in open document format
assembler.AssembleDocument(_TemplateSourcePath, _ReportDestinationPath, ds);
}
catch (Exception ex)
{
throw ex;
}
}