来源:蜘蛛抓取(WebSpider)
时间:2017-08-08 03:09
标签:
泰州 技术支持 公司
当前位置:
时间: 9:18:11
发布:黑苹果博客 | 分类: 网络文摘 | 评论:1 | 浏览:
支持支持吧哈哈
◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。
【相关文章】 10:41:8 10:59:35 9:57:32 10:31:13 0:58:34 0:15:45 7:11:1 1:40:15 13:31:25 5:48:27
本年最热文章reporting services - ssrs url path string manipulation - Stack Overflow
to customize your list.
Join the Stack Overflow Community
Stack Overflow is a community of 6.5 million programmers, just like you, helping each other.
J it only takes a minute:
I have a url string that I'm getting from the DB for a file in my sharepoint server e.g.
and I would like to get the url path e.g.
removing the file name. Can someone please give me an example on how this can be done in SSRS? I'm using SSRS 2012 but I'm fairly new to SSRS.
Any help greatly appreciated.
You could write some custom code on the report. There is a Code property on the report itself where you can write VB functions. One similar to this should do the job.
Function GetPath(ByVal FullPath As String) As String
Return System.IO.Path.GetDirectoryName(FullPath)
End Function
Then in the expression on a Textbox you can call the function.
=Code.GetPath("/abc/def.jpg")
For more detailed step by step instructions try
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabled