微软SQL Server 2000 Reporting Services介绍(四)
来源:互联网 发布:acrobat 2018 for mac 编辑:程序博客网 时间:2024/06/05 08:41
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
[摘要 ] 本文对Reporting Services的一些不太常见的功能进行了分析,最后根据使用情况列举了Reporting Services的一些不足的地方,估计这些不足都会在正式版中解决.
[关键字] Reporting Services,.NET Framework. DrillThrough,rdl文件,rds文件
n rdl文件元素
在上一篇文章里简单的分析了rdl文件,实际上,要完成一个报表,还有许多的信息,下面简单举例
Action 数据的动作,主要是实现链接
AllowBlank 指定参数是否允许为空
Author 报表的作者
Bookmark 图片、报表都可以增加Bookmark
n RS脚本解释器
Reporting Service包中还提供了一个脚本解释器RS.exe,在命令行中输入rs -?,就可以看到该工具的使用帮助,RS.exe的输入文件是后缀为.rss的脚本,格式符合VB.NET规范,在.rss脚本文件中可以直接使用一个全局变量rs,这里的rs变量对应为当前正在运行的Report Server,使用方法可以借鉴两个参考文件:
CancelRunningJobs 功能是取消正在运行的报表作业
PublishSampleReports 功能是将Samples中的所有例子发布到Report
Server上,并统一放置在Sample Reports文件夹中.
两个例子可分别用如下命令运行,其中的myServer要修改为报表服务器的
地址,另外要保证命令行执行的位置正确.
1. rs -i PublishSampleReports.rss -s http://myServer/reportServer -v parentFolder="Sample Reports"
1. rs -i CancelRunningJobs.rss -s http://myServer/reportServer
Rs的常用方法有:
ListJob
CacelJob
CreateReport
CreateFolder
CerateDataSource
以上方法都可以在两个参考例子中找到.
n Reporting Services的一些不足
因为现在用的Reporting Services还是Beta版,所以使用的时候还是可以轻易的发现不少问题
帮助中给的例子好像不能运行,例如<ConnectingString>下是没有子元素<Extension>的,而且<Field>下也没有<Alias>
格式转换还有很多问题,PDF文件不能处理中文,Excel格式也不正常.
微软SQL Server 2000 Reporting Services介绍(四)';return true">
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
微软SQL Server 2000 Reporting Services介绍(四) [摘要 ] 本文对Reporting Services的一些不太常见的功能进行了分析,最后根据使用情况列举了Reporting Services的一些不足的地方,估计这些不足都会在正式版中解决.
[关键字] Reporting Services,.NET Framework. DrillThrough,rdl文件,rds文件
n rdl文件元素
在上一篇文章里简单的分析了rdl文件,实际上,要完成一个报表,还有许多的信息,下面简单举例
Action 数据的动作,主要是实现链接
AllowBlank 指定参数是否允许为空
Author 报表的作者
Bookmark 图片、报表都可以增加Bookmark
n RS脚本解释器
Reporting Service包中还提供了一个脚本解释器RS.exe,在命令行中输入rs -?,就可以看到该工具的使用帮助,RS.exe的输入文件是后缀为.rss的脚本,格式符合VB.NET规范,在.rss脚本文件中可以直接使用一个全局变量rs,这里的rs变量对应为当前正在运行的Report Server,使用方法可以借鉴两个参考文件:
CancelRunningJobs 功能是取消正在运行的报表作业
PublishSampleReports 功能是将Samples中的所有例子发布到Report
Server上,并统一放置在Sample Reports文件夹中.
两个例子可分别用如下命令运行,其中的myServer要修改为报表服务器的
地址,另外要保证命令行执行的位置正确.
1. rs -i PublishSampleReports.rss -s http://myServer/reportServer -v parentFolder="Sample Reports"
1. rs -i CancelRunningJobs.rss -s http://myServer/reportServer
Rs的常用方法有:
ListJob
CacelJob
CreateReport
CreateFolder
CerateDataSource
以上方法都可以在两个参考例子中找到.
n Reporting Services的一些不足
因为现在用的Reporting Services还是Beta版,所以使用的时候还是可以轻易的发现不少问题
帮助中给的例子好像不能运行,例如<ConnectingString>下是没有子元素<Extension>的,而且<Field>下也没有<Alias>
格式转换还有很多问题,PDF文件不能处理中文,Excel格式也不正常.
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- 微软SQL Server 2000 Reporting Services介绍(四)
- 微软SQL Server 2000 Reporting Services介绍(四)
- 微软SQL Server 2000 Reporting Services介绍(四)
- 微软SQL Server 2000 Reporting Services介绍
- 微软SQL Server 2000 Reporting Services介绍
- 微软SQL Server 2000 Reporting Services介绍(五)
- 微软SQL Server 2000 Reporting Services
- SQL Server 2008 Reporting Services
- Microsoft Reporting Services in Action:用自定义代码扩展 Microsoft SQL Server 2000 Reporting Services
- Microsoft Reporting Services in Action:用自定义代码扩展 Microsoft SQL Server 2000 Reporting Services
- Using Reporting Services SharePoint Web Parts in SQL Server 2000 Reporting Services Service Pack 2
- Microsoft Reporting Services in Action:用自定义代码扩展 Microsoft SQL Server 2000 Reporting Services
- SQL Server Reporting Services 相关资源
- SQL Server Reporting Services 相关资源
- Microsoft SQL Server 2005 Reporting Services 2005
- 书评 -- Professional SQL Server 2005 Reporting Services
- 书评 -- Professional SQL Server 2005 Reporting Services
- 书评 -- Professional SQL Server 2005 Reporting Services
- ORACLE DBA常用SQL脚本工具->管理篇(1)
- C#中键盘钩子的使用(转)
- 让你的应用程序不再对数据库的改动“感冒”(二)
- 用C#在域中增加用户和邮箱
- 在你的JDeveloper里扩展J2ME
- 微软SQL Server 2000 Reporting Services介绍(四)
- 在DB2中如何實現Oracle的相關功能(三)
- 处理异常的最佳做法
- 在单机上创建物理的Oracle9i standby数据库
- XML、Web服务和.NET框架
- 如何在SQL Server2000中处理半个汉字的问题
- 字符串加解密的类(VB.NET Source Code)
- 在DB2中如何實現Oracle的相關功能(二)
- 一种软件多数据库支持实现方式介绍