How to Show "-" value in case of No Values - Reg.
Posted: Thu Jul 11, 2013 10:32 am
Hi,
Kindly note that i have designed the report with one Header Band & Databand with four textbox & some filter conditions,
but in case the applied filter doesn't has any values i need the textbox value to show "-".
Also note that the Header Band will be printed by using the property printifempty to true, but i want also the DataBand textboxes to be printed with "-" values.
i tried the below code it is working only for DBNull Values not for applied filter cases
(Obj["Employee1"] == DBNull.Value) ? Obj["Employee2"] : Obj["Employee3"].
So look into above mentioned details then suggest me some alternate solution.
Thanks & Regards,
Shan
Kindly note that i have designed the report with one Header Band & Databand with four textbox & some filter conditions,
but in case the applied filter doesn't has any values i need the textbox value to show "-".
Also note that the Header Band will be printed by using the property printifempty to true, but i want also the DataBand textboxes to be printed with "-" values.
i tried the below code it is working only for DBNull Values not for applied filter cases
(Obj["Employee1"] == DBNull.Value) ? Obj["Employee2"] : Obj["Employee3"].
So look into above mentioned details then suggest me some alternate solution.
Thanks & Regards,
Shan