Created
October 31, 2017 12:39
-
-
Save tahaipek/9776d53e53b33cfc10f41b77f6c58a84 to your computer and use it in GitHub Desktop.
SSRS Encode HTML string
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###ReportProperties | |
#Add reference to Report Properties => System.Net | |
###Set Custom code for this report. | |
Public Function URLEncode (ByVal data As String) As String | |
Dim outURL As String | |
outURL = System.Net.WebUtility.HtmlDecode(data).ToString | |
Return outURL | |
End Function | |
###Set expresion for: field calue | |
=Code.URLEncode(First(Fields!TestField.Value, "DataSet1")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment