Click here to Skip to main content
15,120,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had created table named CallLock.In that I saved records for fields like Call Lock number,Lock Date and Lock Time.Table contains one more field i.e Call Close Time.
When I saved record by using one UI,the data is inserted in fields
1-Call Lock number,
2-Lock Date,
3-Lock Time
and the field Call Close Time is blank.
So,I want to display a "-" instead of this blank field in rdlc report.
Anyone have a solution.Please send it
Herman<T>.Instance 11-May-15 7:02am
which control do you use to show the data? (GridView?)

1 solution

Right-click on the field in your report and chose "Expression". Set the expression to:
=IIf(Fields!CallCloseTime.Value Is Nothing, "-", Fields!CallCloseTime.Value)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900