report service asp.net 中的使用

最近开始用 report service 了...用了一下感觉很不错.....
 
Reporting Services 非常方便地附带了名为 ReportViewer 的示例(安装到 \Reporting Services\Samples\Applications\ReportViewer 目录)技术开后,生成 dll .
然后把它添加工具箱。。。。 



None.gif < cc1:ReportViewer  id ="ReportViewer1"  style ="Z-INDEX: 101; LEFT: 24px; POSITION: absolute; TOP: 32px"
None.gif                runat
="server"  Height ="480px"  ServerUrl ="http://gw/ReportServer"  ReportPath ="/test/Report1&amp;Customerid=92&amp;rc:Parameters=false"
None.gif                Width
="616px"  Toolbar ="Default"  Zoom ="100" ></ cc1:ReportViewer >
 ServerUrl 为 report service 名 ....reportpath 为 报表路径。。
 customerid 为参数  rc:parmerter=false 表示调用时 report service 不显示参数栏。。。。
  具体可以看这  
 
   http://www.microsoft.com/china/msdn/library/data/sqlserver/art/USissues0408SQLServerReportingServicesfig05.htm
   

一个汇总时进行判断的语句。。。 
  Sum( iif(len( Fields!searchpath.Value)=1, Fields!Sheets.Value,0), "lishi_yongdian")

 是vb 语法....不喜欢.........
  
差不多都是看的这的,

   http://www.microsoft.com/china/msdn/library/data/sqlserver/SQLServerReportServ.mspx
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值