ASP.NET Samples
    .NET Application Samples
    Reporting Services Samples

    View The Latest
OfficeWriter Docs

    OfficeWriter Home
    OfficeWriter Resources
    OfficeWriter Demos
WordTemplate Purchase Order Demo (C#)

A generic purchase order document with a header section and an expanding Word table for detail rows.

Technical Overview

This demo uses the setDataSource and setRepeatBlock methods together.  The SetDataSource method is used to assign all of the single-value items to the order header and total sections.  A repeat block is defined in the template document around one table row so that the table will automatically expand for every row of data in the order detail query.

View source View template

Run demo

Select an Order ID for which to print a Purchase Order:





Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.