Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to hide columns in rdlc file at run time

How to hide columns in rdlc file at run time

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsql-servertutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 3055467
    wrote on last edited by
    #1

    Hi, I am completely new to generating reports in SSRS in ASP.NET and C#.I have generated a report successfully. Now what I need is I dont dont want to show any columns or fields in the report when there is no data. The requirement is very urgent. So I request a quick reply from any one who knows solution to this.

    E 1 Reply Last reply
    0
    • U User 3055467

      Hi, I am completely new to generating reports in SSRS in ASP.NET and C#.I have generated a report successfully. Now what I need is I dont dont want to show any columns or fields in the report when there is no data. The requirement is very urgent. So I request a quick reply from any one who knows solution to this.

      E Offline
      E Offline
      esmira
      wrote on last edited by
      #2

      select column and go to properties, then select visibility and put in Hidden =IIF(Fields!NameOfColumn.Value=0,True, False)

      K 1 Reply Last reply
      0
      • E esmira

        select column and go to properties, then select visibility and put in Hidden =IIF(Fields!NameOfColumn.Value=0,True, False)

        K Offline
        K Offline
        kholland15
        wrote on last edited by
        #3

        There is no "COLUMN" visibility property. There is a row visibitly property and there is a cell specific visibility property. Not for COLUMN!

        K 1 Reply Last reply
        0
        • K kholland15

          There is no "COLUMN" visibility property. There is a row visibitly property and there is a cell specific visibility property. Not for COLUMN!

          K Offline
          K Offline
          Kaleemullah khan
          wrote on last edited by
          #4

          If you select column, go to properties, select visibility property and underneath Visibility Select Hidden and select Expression from drop down list box.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups