Write custom .NET code in the RDLC report

Discussion in 'Business-Intelligence' started by avreporter, Jan 26, 2015.

  1. avreporter

    avreporter Administrator Staff Member

    You can create custom .NET code blocks in the RDLC definition and use the function return values in the RDLC expression editor. Follow these steps:

    1. Open the RDLC file in the Visual Studio.
    2. In the Report menu choose the Report Properties button and navigate to the "Code" tabpage. You can enter the .NET code, for example:

    rdlc1.png

    3. Call the function in the object Expression Editor.

    rdlc2.png

Share This Page