Nitin Dhawan CRM Discussion

A CRM Monster [MCDP, MCDS, MCTS, MCSD]

Adding alternating row color to SSRS report

Posted by Nitin Dhawan on June 27, 2009


Steps:

  1. Goto Report Designer in SSRS Solution
  2. Go to the table row’s BackgroundColor property and choose “Expression”
  3. Add expression

             =IIf(RowNumber(Nothing) Mod 2 = 0, "Green", "Transparent")

With this approach we can target any area in report.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: