>>>Any way to do this in C# like VFP's IIF()?
>>>
>>>
>>>if (Checked)
>>>{
>>> _CheckItemsCount++;
>>>}
>>>else
>>>{
>>> _CheckItemsCount--;
>>>}
>>>
>>
>>
_CheckedItemsCount+= (Checked) ? 1:-1;
>
>Never seen this before. Can you explain the syntax?
Tut, tut, Kevin ;-) Can't you find the ? operator in help?