Windward Engine API Reference
ProcessData(IReportDataSource,String) Method
See Also  Send comments on this topic.
net.windward.api.csharp Namespace > Report Class > ProcessData Method : ProcessData(IReportDataSource,String) Method




data
The data that will be placed into the report where there are tags.
datasource
The name of the datasource to process. Only tags with this datasource will be processed. A value of "" is legitimate and signifies the default datasource.

Glossary Item Box

Process a set of data for the report. This method can be called multiple times - but only once for each datasource. This method can only be called by objects create with ProcessReport(template) or ProcessReport(template, report). Do not pass in buffered streams if you have the option. ProcessReport wraps all streams in buffers, generally BufferedReader and BufferedWriter.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub ProcessData( _
   ByVal data As IReportDataSource, _
   ByVal datasource As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As Report
Dim data As IReportDataSource
Dim datasource As String
 
instance.ProcessData(data, datasource)
C# 
public void ProcessData( 
   IReportDataSource data,
   string datasource
)
Managed Extensions for C++ 
public: void ProcessData( 
   IReportDataSource* data,
   string* datasource
) 
C++/CLI 
public:
void ProcessData( 
   IReportDataSource^ data,
   String^ datasource
) 

Parameters

data
The data that will be placed into the report where there are tags.
datasource
The name of the datasource to process. Only tags with this datasource will be processed. A value of "" is legitimate and signifies the default datasource.

Exceptions

ExceptionDescription
net.windward.tags.TagExceptionthrown if there is an unmatched if/while - end. Not thrown in debug mode.
net.windward.xmlreport.AlreadyProcessedExceptionthrown if call process multiple times on an object.
net.windward.env.DataSourceExceptionthrown if there is a problem with the datasource.
java.io.IOExceptionthrown if have problems accessing the xml, template, or report streams

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family

See Also

© 2019 All Rights Reserved.