We help IT Professionals succeed at work.

coloring rows and dispalying sub total

ayha1999
ayha1999 asked
on
Medium Priority
221 Views
Last Modified: 2012-08-14
Hi,

I am displaying data in datagrid as follows;

sl. SysID   Name      Location  Total
1   A001    System1      B0       50
2   A001    System1      B1       25
                                             75   <--sub total here
3   A002    System2      C1        1
4   A002    System2      C2       10

How can I color rows? I want to make different colors for each sysids.
I want to give A001 one color, A002 another color etc. Also how can display sub total each system?

pls. help me with vb code?

thanks.

ayha
Comment
Watch Question

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Hi pbocanegra,

None of the links gives solution for my question.  could u pls. provide a sample?

ayha
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.