Udostępnij za pośrednictwem


Report Properties - Code Tab (Visual Studio Report Designer)

Use the Code tab of the Report Properties dialog box to type in custom functions that you want to use in expressions in the report. The code is embedded in the report definition and is scoped to the current report.

An alternative to embedding code within the report definition is to add references to custom assemblies that you want to use in expressions. To reference external assemblies, use the Report Properties - References Tab (Visual Studio Report Designer) tab of the Report Properties dialog box.

Options

  • Custom code
    Type the methods to be used within the report. Code must be written in Microsoft Visual Basic.

See Also

Reference

Report Properties Dialog Box - General Tab (Visual Studio Report Designer)

Concepts

Built-in Functions for Reports (Visual Studio Report Designer)
Adding Custom Code to a Report (Visual Studio Report Designer)
Using Expressions in a Report (Visual Studio Report Designer)
ReportViewer Controls (Visual Studio)
ReportViewer Web Server and Windows Forms Controls

Other Resources

Report Designer User Interface Reference (Visual Studio)