创建一个Report
创建一个Data Source
Classic Models Inc. SampleDB Driver
创建一个Data Set
select CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER,
CLASSICMODELS.CUSTOMERS.CUSTOMERNAME,
CLASSICMODELS.CUSTOMERS.COUNTRY
from CLASSICMODELS.CUSTOMERS
创建一个Table
生成 document
……
IReportDocument reportDocument = engine.openReportDocument( “d:/sample.rptdocument” );
IDataExtractionTask dataExtractionTask = engine.createDataExtractionTask( reportDocument );