In addition to creating a C1PrintDocument fully (including data) in code, a C1PrintDocument may be data bound. In that case, the actual document is produced when the document is filled with data from the database during generation.
The main property facilitating data binding is the DataBinding property on RenderObject , of the type C1DataBinding, which allows to specify the data source for data shown by the render object. Additionally, the data binding can indicate that the render object must be repeated for all records in the data source, in which case the render object becomes similar to a "band" from a banded report generator. This is similar to the RDL definition from Microsoft.
详情请参见文档
25-Data Binding.docx
(110.95 KB, 下载次数: 455)
|
|