ReportingEngineBuildReport Method (Document, Object)
public bool BuildReport( Document document, Object dataSource )
Public Function BuildReport ( document As Document, dataSource As Object ) As Boolean
public: bool BuildReport( Document^ document, Object^ dataSource )
member BuildReport : document : Document * dataSource : Object -> bool
Using this overload you can reference the data source's members in the template document, but you cannot reference the data source object itself. You should use the BuildReport(Document, Object, String) overload to achieve this.
A data source object can be of one of the following types:
For information on how to work with data sources of different types in template documents, see template syntax reference (https://docs.aspose.com/display/wordsnet/Template+Syntax).