您现在的位置:网络学院 > 开发教室 > 跟我学.net
在Visual Studio.NET中使用Crystal Report(下)

出处:PConline
责任编辑:pjl

[02-4-9 14:38] 作者:cashcho/中国软件


from www.aspfree.com
translated by cash(天下第七)
cashcao@msn.com

Crystal Report 演示-使用Push Model

下面看看如何使用Push Model实现Crystal Reports

1.创建一个设计时的dataset

2.创建一个.rpt文件并指向我们前面创建的dataset

3.在.aspx页面上放置Crystal Report Viewer控件,设定它的属性指向上一步创建的.rpt文件。

4.在code behind page中,书写连接数据库的函数

5. 加上databind方法。

创建一个设计时的dataset去定义Reports的Fielsds.

1)在"Solution Explorer"右击,选择"Add" --> select "Add New Item--> Select "DataSet"



2) 从"Server Explorer"面板中的"SQL Server"中拖进"Stores"表


[下一页]


相关文章:

在Visual Studio.NET中使用Crystal Report(上)
在Visual Studio.NET中使用Crystal Report(中)


内容搜索 
高级搜索

本栏今日焦点