Navigation:  Contents > Expressions >

StimulReport.Net User Manual

Print this Topic Previous pageReturn to chapter overviewNext page

Expressions with condition

StimulReport.Net excludes a condition in the expression by default. However, using C# programming language, you can use ternary operation. See the following ternary operations:

 

{Condition ? Value1 : Value2}

 

 

If Condition returns true then the expression will return Value1. If no, then Value2. For example:

 

{Store.Count > 0 ? Store.Count : "Empty"}