Sum of a column values in a Datagrid

Discussion in 'ASP .Net Datagrid Control' started by Atif Jalal, Jan 21, 2004.

  1. Atif Jalal

    Atif Jalal Guest

    Hi,
    I would like to know if there is a way to print 'Sum' of all the
    values of one of the columns in a datagrid in an ASP.net application
    using vb.net. The Sum should be displayed all the way at the end below
    the column values.

    Like:
    ___________________________
    Column1 Column2 Column3
    ___________________________
    XX
    YY
    ZZ
    --
    SUM AA
    --
     
    Atif Jalal, Jan 21, 2004
    #1
    1. Advertising

  2. Atif Jalal

    ben Guest

    try this link

    http://www.dotnetjunkies.com/Tutorial/2F527E21-A6C5-497A-8B56-4150BDAF711D.dcik

    cheers !


    (Atif Jalal) wrote in message news:<>...
    > Hi,
    > I would like to know if there is a way to print 'Sum' of all the
    > values of one of the columns in a datagrid in an ASP.net application
    > using vb.net. The Sum should be displayed all the way at the end below
    > the column values.
    >
    > Like:
    > ___________________________
    > Column1 Column2 Column3
    > ___________________________
    > XX
    > YY
    > ZZ
    > --
    > SUM AA
    > --
     
    ben, Jan 22, 2004
    #2
    1. Advertising

  3. Check out this article,
    http://www.extremeexperts.com/Net/Articles/ExtendingDataGrid.aspx

    --
    Saravana
    Microsoft MVP - ASP.NET
    www.extremeexperts.com



    "Atif Jalal" <> wrote in message
    news:...
    > Hi,
    > I would like to know if there is a way to print 'Sum' of all the
    > values of one of the columns in a datagrid in an ASP.net application
    > using vb.net. The Sum should be displayed all the way at the end below
    > the column values.
    >
    > Like:
    > ___________________________
    > Column1 Column2 Column3
    > ___________________________
    > XX
    > YY
    > ZZ
    > --
    > SUM AA
    > --
     
    Saravana [MVP], Jan 28, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SklNLkgu?=

    Q: sum grid column

    =?Utf-8?B?SklNLkgu?=, Apr 14, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,064
    Elton Wang
    Apr 14, 2005
  2. Rolf Kemper

    sum values by lookup

    Rolf Kemper, Dec 23, 2004, in forum: XML
    Replies:
    2
    Views:
    664
    Luke Dalessandro
    Dec 23, 2004
  3. Smokey Grindle

    sum of column in footer

    Smokey Grindle, Jun 30, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    10,147
    Smokey Grindle
    Jul 1, 2006
  4. Sammyo
    Replies:
    3
    Views:
    102
    William James
    May 22, 2006
  5. Noatec
    Replies:
    13
    Views:
    155
    Paul Lalli
    Sep 18, 2006
Loading...

Share This Page