kankon
on Dec 02, 2022 05:50 AM
634 Views
If textbox is null or nothing, the using report viewer its same this code
Because i did try and nothing in page
My code in textbox report expression
=IIf(Parameters!serialPC.Value = Nothing, " ",Parameters!serialPC.Value)
Download FREE API for Word, Excel and PDF in ASP.Net:
Download
kankon
on Dec 03, 2022 05:35 AM
10
I found the solution
=IIf(Parameters!txtmodelphone.Value = "0", " ", Parameters!txtmodelphone.Value)
in HTML page i must add text = 0 or anything like please add something
in report 0 or please add something = nothing
now working
=IIf(Parameters!txtmodelphone.Value = "please add something", " ", Parameters!txtmodelphone.Value)