views:

59

answers:

0

I want to build my HTML template like $GetCurrencyType(Customer.currencyType)$. Here Customer is the object and currencyType is the integer property and GetCurrencyType is the method which return currency symbol as string. GetCurrencyType was in another class and i called the method using local instance.

in C# code just I'll call st.SetAttribute("Customer",customerInfo);

How to achieve this.

Till now i using like this

    st.SetAttribute("Customer",customerInfo)
 and template is like this : $Customer.currencyType$