sql server reporting service

sql server reporting service

ID:22372208

大小:64.50 KB

页数:7页

时间:2018-10-28

sql server reporting service _第1页
sql server reporting service _第2页
sql server reporting service _第3页
sql server reporting service _第4页
sql server reporting service _第5页
资源描述:

《sql server reporting service 》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、SQLServerReportingService  上次介绍了SQLServerReportingService命令行部署报表的基本内容,利用这些知识我们可以轻松的部署报表,然而在TFS中,每个项目都有它对应的报表,这些报表如果要一个个的更新也是件痛苦的事情,现在我也遇到了这个问题,针对TFS开发了两张报表,但是如何将这些报表应用到所有项目上呢?结合之前的部署脚本知识,我们可以使用下面方法实现:  首先建立一个批处理文件ImporticrosoftVisualStudio9.0VCvcvars

2、all.batx86port/t%1/p%2/ficrosoftCorporation. Allrightsreserved.''ThissourcecodeisintendedonlyasasupplementtoMicrosoft'DevelopmentToolsand/oron-lineumentation. Seetheseother'materialsfordetailedinformationregardingMicrosoftcodesamples.

3、''THISCODEANDINFORMATIONAREPROVIDEDASISPLIED,INCLUDINGBUTNOTLIMITEDTOTHE'IMPLIEDERCHANTABILITYAND/ORFITNESSFORA'PARTICULARPURPOSE.'=============================================================================''1.0Documenta

4、tion''Readthefolloiliarizeyourselfplescript.''1.1Overvieplescriptusesascriptfile(.rss)andthescriptenvironmenttorun'and-promptvariableusingthe杤splereportsthatshipwithReportingServicestoareportserver.'Dependingo123下一页>>>>这篇文章来自.

5、.,。nthelocationofyoursamplereports,youmayneedtomodifythe'valueofthefilePathvariable,plereports.''1.2ScriptVariables''VariablesthatarepassedonthemandlineplemandLines'''1.3.1UsethescripttopublishthesamplereportstoanAdven

6、tureain()SubMain()   rs.Credentials=System.Net.CredentialCache.DefaultCredentials   ''Createtheparentfolder   'Try   '   rs.CreateFolder(parentFolder,/,Nothing)   '   Console.essage)   'EndTry   ''CreatetheAdventureD,_

7、   '   datasource=localhost;initialcatalog=Adventureplereports   DimsreaderAsNe.IO.StreamReader(ProjectInfo.ini)   DimpNameAsString=   pName=sreader.ReadLine()   PublishReport(SSe)   PublishReport(SSe)EndSubPublicSubCreateSampleDataSource()SubCre

8、ateSampleDataSource(ByValnameAsString,ByValextensionAsString,ByValconnectionStringAsString)   'Definethedatasourcedefinition.   DimdefinitionAsNe.Integrated   definition.ConnectString=connectionString   definition.Enabled=True   definition.Enable

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。