找回密码
 立即注册
一般来说,一个完整的报表设计过程,大体分为如下几个过程:
1:打开设计器
2:配置数据源
3:新建报表
4:配置私有数据源
5:报表设计
6:预览报表
7:发布报表
第一部分:配置数据源
过程一:新建数据库
打开报表设计器,在设计器最上方的菜单栏傍边,选择服务器,在该下拉菜单傍边选择公有的数据源管理器,弹出一个数据源管理器对话框。
点击该对话框左上角的增加数据源按钮来增加新的数据源。在这儿我们为数据源命名为FRDemo。
用鼠标选中刚刚命名的数据源,右边显示对应的数据源属性修改面板,共有五项属性:驱动,URL,用户名和密码,以及一个测试数据库连接按钮。
过程二:设置数据库属性
首要设置驱动器,在驱动项中选择sun.jdbc.odbc.JdbcOdbcDriver,然后点击URL文本框旁边的…按钮,系统会依据选择的驱动自动显示对应的URL格式。

(Generally speaking, a complete report design process is roughly divided into the following processes:
1: Open the designer
2: Configure the data source
3: New report
4: Configure private data sources
5: Report Design
6: Preview the report
7: Publish the report
Part 1: Configuring the Data Source
Step 1: Create a new database
Open the report designer, select the server on the top menu bar of the designer, select the public data source manager from the drop-down menu, and a data source manager dialog box will pop up.
Click the Add Data Source button in the upper left corner of the dialog to add a new data source. Here we name the data source FRDemo.
Select the data source just named with the mouse, and the corresponding data source property modification panel will be displayed on the right, with five properties: driver, URL, user name and password, and a test database connection button.
Step 2: Set database properties
First set the driver, select sun.jdbc.odbc.JdbcOdbcDriver in the driver item, and then click the ... button next to the URL text box, the system will automatically display the corresponding URL format according to the selected driver.)

[下载]07202609754.rar




上一篇:手把手教您编写传智版贪食蛇游戏【源代码】
下一篇:java