Search code examples
sql-server-2008-r2ssrs-2008reporting-services

Convert GUID to string in SQL Server Reporting Services


While trying to display a GUID column in a report ..its displayed as #error..

=CStr(Fields!number.Value).ToString

I tried the above code in the properties of the column..it doesn't work..

Please advise


Solution

  • =CType(Fields!number.Value, GUID).ToString