Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试GUID在报告中显示列时..它显示为#error..
GUID
#error
=CStr(Fields!number.Value).ToString
我在列的属性中尝试了上面的代码..它不起作用..
请指教
=CType(Fields!number.Value, GUID).ToString
如果是 GUID,则直接显示,不做任何处理,与其他数据类型一样。 如果您想将其转换为其他用途,只需使用 ToString,例如: =IIf(Fields!number.Value.ToString=Fields!ID.Value.ToString, "true", "false")