Proplem if Expressions with condition

Stimulsoft Reports.NET discussion
Post Reply
alharbi
Posts: 45
Joined: Wed Sep 05, 2007 1:56 pm
Location: KSA

Proplem if Expressions with condition

Post by alharbi »

This is My condition
{TS_DirS_TrainingPlace.TelByeMail==0 ? "Yes":"No"}

I Get This Error:
BC30201 Expression Expected
BC30035 Syntax Error

Where Is The Proplem ?
---------------
WinXP SP2
.Net Framework Ver 1.1
VB.Net Web Report
EDV Gradl
Posts: 228
Joined: Sat Jun 17, 2006 9:50 am
Location: Germany

Proplem if Expressions with condition

Post by EDV Gradl »

I think the tenary expression is a feature of C#, not VB. You could use the iff function of Stimulreport, though.

Marco
alharbi
Posts: 45
Joined: Wed Sep 05, 2007 1:56 pm
Location: KSA

Proplem if Expressions with condition

Post by alharbi »

Thank you very much, Work well now.
Post Reply