depending on information, my report RDLC on Visual Studio 2008 has some fields that are printed or not.
I would like to know how could I suppress only this section when there is no data to be printed.
I recall that crystal reports has something like that. But what about a RDLC file?
thank you
I have done one thing, that solve my problem, may be helpful for someone.
First of all I apply the above code:
You could set an IIF
statement on the Visibility property of the control you want to hide.
=IIF(ROWCOUNT=0, FALSE, TRUE)
then, I set this property for every column.
Now with the help of above code every column is suppress. but there is one thing that is not suppress till and take space. that is our static headers. Now , the final step come, that is more interesting. Make height of all your static headers to 0 or minimum value.