reporting services - How to send parameter List<string> from rdlc file to static method in customer assembly -
i use object datasource in reporting services .rdlc file. 1 of properties in object of type list<string>. try send parameter static method in custom assembly this:
=mymodule.reportcode.getlistitemstring(fields!testlist.value,0) but not work, "#error".
does know have make work?
you can work on entire fields collection , extract list inside custom assembly.
yoo can create function in assembly like:
public static double myfunction(fields pfields) and access columns using :
if (pfields["mycolum"] != null && pfields["mycolum"].value != null) ... in report can call function using :
code.mymodule.myfunction(fields) remember link microsoft.reportingservices.reportprocessing.reportobjectmodel assembly.
hope helps..
Comments
Post a Comment