coloring rows and dispalying sub total

Posted on 2006-03-29
Last Modified: 2012-08-14

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?


Question by:ayha1999
    LVL 4

    Accepted Solution

    LVL 7

    Author Comment

    Hi pbocanegra,

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


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on could not pull conte…
    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now