Offshore your .NET/SQL Development to Latin America! Languages: en-de-es
How to call static Class Libraries’ Functions in your RDL
November 17, 2007Posted by on
All depends on the chosen Namespace.
The above class library is called Test, containing a VB-Class RetStrings.
The namespace has been configured as follows:
It follows the class:
When you receive a foreign Assembly (DLL), then have a look inside it with ILDASM:
The output of ILDASM shows, that "reflect" is a C#-static- (VB-shared-) method which returns a string.
You see also the whole namespace, so you know now, after this inspection, how to reference it in SSRS, like in the following picture.
Calling this static (shared) method is that simple, after you became it to know:
(Apodo is nickname in Castellano, which is in this case an SSRS parameter)