我有一个 DecXpress 报告,数据源显示了一个数据正在发送的文件,例如
PRODUCT - APPLE<BR/>ITEM NUMBER - 23454</BR>LOT NUMBER 3343 <BR/>
现在这就是它在单元格中的显示方式,所以我决定解码,但没有任何效果,我尝试了 HttpUtility.HtmlDecode,在这里我正在尝试 WebUtility.HtmlDecode。
private void xrTableCell9_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
{
XRTableCell cell = sender as XRTableCell;
string _description = WebUtility.HtmlDecode(Convert.ToString(GetCurrentColumnValue("Description")));
cell.Text = _description;
}
如何解码数据源中此列的值?
谢谢