[resolved] Switch() in expression
Posted: Fri Sep 11, 2009 6:11 am
I have a CalcColumn in my Data Source.
Its expression is the following:
FonteDeDados1.Natureza == 1 ? "Ativo" :
FonteDeDados1.Natureza == 2 ? "Passivo" :
FonteDeDados1.Natureza == 3 ? "Patrimonio Liquido" :
"Receita"
What should make to use Switch ()?
Its expression is the following:
FonteDeDados1.Natureza == 1 ? "Ativo" :
FonteDeDados1.Natureza == 2 ? "Passivo" :
FonteDeDados1.Natureza == 3 ? "Patrimonio Liquido" :
"Receita"
What should make to use Switch ()?