Which expression should you use?

You are designing a Microsoft SQL Server 2005 Reporting Services (SSRS) report. The report must use a custom assembly to perform real-time lookup and currency conversion. The assembly has a static class named CurrencyConversion that exists in the namespace FinancialCalc. The class has a method named ToEUR that requires two arguments, Currency and CurrencyCode. You need to reference the ToEUR method in an expression to convert USD to EURO when the report runs. Which expression should you use?

You are designing a Microsoft SQL Server 2005 Reporting Services (SSRS) report. The report must use a custom assembly to perform real-time lookup and currency conversion. The assembly has a static class named CurrencyConversion that exists in the namespace FinancialCalc. The class has a method named ToEUR that requires two arguments, Currency and CurrencyCode. You need to reference the ToEUR method in an expression to convert USD to EURO when the report runs. Which expression should you use?

A.
=Code.FinancialCalc.CurrencyConversion.ToEUR (Fields!Currency.Value,”USD”)

B.
=Code!FinancialCalc.CurrencyConversion.ToEUR (Fields!Currency.Value,”USD”)

C.
=FinancialCalc.CurrencyConversion.ToEUR (Fields!Currency.Value,”USD”)

D.
=FinancialCalc!CurrencyConversion.ToEUR (Fields!Currency.Value,”USD”)



Leave a Reply 0

Your email address will not be published. Required fields are marked *