in rdlc i want to compare int like
if(expression ==1)
{
}
if(expression ==2)
{
}
work on vs05 Window C#
in rdlc i want to compare int like
if(expression ==1)
{
}
if(expression ==2)
{
}
work on vs05 Window C#
You will have to nest IIF statements like this:
= IIF (expression = 1, "Is 1", IIF (expression = 2, "Is 2"))
Rather than using nested IIF statements I prefare the Switch statement.
From the MSDN...
=Switch(
Fields!PctComplete.Value >= 10, "Green",
Fields!PctComplete.Value >= 1, "Blue",
Fields!PctComplete.Value = 1, "Yellow",
Fields!PctComplete.Value <= 0, "Red"
)
Hope it helps :)