![](/img/trans.png)
[英]How to display a Reporting Services report as an inline PDF, in a ASP.Net and C# web page?
[英]C# How to display Dataset's Byte column as an Enum in MS Reporting Services?
如何在Microsoft報表中基於數據表中的字節列顯示枚舉值 ?
我想投
=Fields!Status.Value
到(MyEnum)Fields!Status.Value
然后在其上調用.ToString()
。 狀態是字節類型。
好的,我這樣做了(這是我直接插入到表格單元格中的內容):
=Switch(
Fields!status.Value=0, "NotStarted",
Fields!status.Value=1, "InProgress",
Fields!status.Value=2, "Completed",
Fields!status.Value=3, "Deferred"
)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.