from www.aspfree.com
translated by cash(天下第七)
cashcao@msn.com
Crystal Report演示-使用Pull Model
我们可以用以下步骤来实现Crystal Reports的Pull Model的使用:
(1) 创建一个.rpt文件,设定必要的数据库联接。
(2)将CrystalReportViewer control放到.aspx页面上,设定它的属性指向我们创建的.rpt文件。
(3) 在你的code behind page文件中调用databind方法。
创建.rpt文件:
1)右键单击Solution Explorer,选择"Add" --> "Add New Item" --> "Crystal Report",添加一个新Crystal Report文件。

2) 在"Crystal Report Gallery"弹出窗口,选择"As a Blank Report"按钮并单击”ok”。

3) 这将在Crystal Report Designer上打开一个新的报表文件

[下一页]
相关文章:
在Visual Studio.NET中使用Crystal Report(上)
|