0
我試着通過code.I設置文本元素的文字在我的stimulsoft報告使用文本編輯窗口此代碼爲表達tab.but不起作用。我嘗試使用此代碼爲BeforPrintElement和AfterPrintElement事件,但在這種情況下不要打印任何東西。 如何解決這個問題?如何通過代碼在StimulSoft中設置文本元素的文本?
{if(ProcGetReportTRAINPDF.Fk_sellerCode=="8006")
{
AgencyCommission.value= ((int.Parse(ProcGetReportTRAINPDF.Formula10)*2)/100).Tostring();
}
if(ProcGetReportTRAINPDF.Fk_sellerCode=="8025")
{
AgencyCommission.value= ((int.Parse(ProcGetReportTRAINPDF.Formula10)*1.8)/100).Tostring();
}
}