visual studio 2010 - ReportViewer how to display a boolean value differently -


my data stored in bit field in sql server (0 or 1) when display in reportviewer shows true or false

i change yes or no please advice.

you can change in report using iif.

=iif(fields!yourbool.value, "yes", "no") 

if data null evaluate "no". if want blank instead use one

=iif(isnothing(fields!yourbool.value), "", iif(fields!yourbool.value, "yes", "no")) 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -