admin管理员组

文章数量:1315089

In XtraReport how can I change the databinding field of a tableCell based on the value in another tableCell using the script in the Report designer window?

I want to change the databinding field of a tableCell based on the value in another tableCell. Suppose I Have a tableCell named tableCell44 and the databinding field of tableCell44 is Mark11. If the value in the tableCell22 is NullOrEmpty then I want to set the databinding field of the tableCell44 to Mark22. How can I achieve this using C# script?

Note: tableCell22 is printed first so the script can be written in the BeforePrint of tableCell22.

I know it can be done using the CalculatedField but there are some situations in which I cannot use CalculatedField.

本文标签: