User Definded Functions
Posted: Wed Sep 11, 2013 9:49 am
Hello,
We have many reports with identical businesslogic and we don't want to write code more than once.
Is it possible to define user function within the code behind class and set this function as datasource for report fields for many reports without having the code more than once?
Or is it possible to reference an additonal assembly and use functions/classes in this assembly.
Or is it possible to reference an additonal assembly and inherit the Report from a user defined class which inherits from Stimulsoft.Report.StiReport. The user defined class contains the functions which can be used as datasource for some fields.
René
We have many reports with identical businesslogic and we don't want to write code more than once.
Is it possible to define user function within the code behind class and set this function as datasource for report fields for many reports without having the code more than once?
Or is it possible to reference an additonal assembly and use functions/classes in this assembly.
Or is it possible to reference an additonal assembly and inherit the Report from a user defined class which inherits from Stimulsoft.Report.StiReport. The user defined class contains the functions which can be used as datasource for some fields.
René