Alternative row color of a Tablix in report Viwer in vb.net 2010
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Alternative row color of a Tablix in report Viwer in vb.net 2010

  1. #1
    Join Date
    Jul 2007
    Posts
    115

    Alternative row color of a Tablix in report Viwer in vb.net 2010

    Dear Sir,

    I am using ReportViewer in I want to get alternate color of row but how to do I don't know. apart from this how to generate the report through code please help me with sample code.

    Thanking You

    Debasis Bag

  2. #2
    Join Date
    Aug 2009
    Location
    NW USA
    Posts
    173

    Re: Alternative row color of a Tablix in report Viwer in vb.net 2010

    I couldn't find an alternating row feature in the Tablix but you can use an expression to set the background for each row. If you truely want alternating then you will probably have to pass some sort of counter to the dataset and use "<counter> Mod 2 = 1" as your condition in the row's BackgroundColor.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center