Example: .NET component for exporting a data set to a CSV file

Previous Next

The following step-by-step instructions are for creating a .NET component that exports a set of data to a CSV file. This is an example of how to create and use the aggregate protocol.

For simplicity, the .NET code assumes that data received does not contain a comma.

The component expects data from the following columns of the SCHEDTOUR table: SCHEDTOUR_ID, DESTINATION, TOUR_TYPE, START_DATE, RETURN_DATE, PRICE.

 

 

collapseCreating a .NET component for exporting records to a CSV file
collapseDefining an aggregate protocol for the component
collapseTesting the solution

 

 

See also

Aggregate protocol