Total result from datagrid data

Discussion in 'ASP .Net Datagrid Control' started by Vishal, Dec 16, 2004.

  1. Vishal

    Vishal Guest

    Hello,

    is it somehow possible to calculate the data from the
    datagrid and display the result somewhere in the footer?

    Thanks
     
    Vishal, Dec 16, 2004
    #1
    1. Advertising

  2. You need to set ShowFooter = true; and then in PreRender event loop through
    the cells, calculate the values and place them into footer cells. Pretty
    straightforward.

    Eliyahu

    "Vishal" <> wrote in message
    news:015e01c4e324$24b86a90$...
    > Hello,
    >
    > is it somehow possible to calculate the data from the
    > datagrid and display the result somewhere in the footer?
    >
    > Thanks
     
    Eliyahu Goldin, Dec 16, 2004
    #2
    1. Advertising

  3. Vishal

    Vishal Guest

    Can you tell me please how I find the label control in my
    footer in the PreRender event?


    >-----Original Message-----
    >You need to set ShowFooter = true; and then in PreRender

    event loop through
    >the cells, calculate the values and place them into

    footer cells. Pretty
    >straightforward.
    >
    >Eliyahu
    >
    >"Vishal" <> wrote in

    message
    >news:015e01c4e324$24b86a90$...
    >> Hello,
    >>
    >> is it somehow possible to calculate the data from

    the
    >> datagrid and display the result somewhere in the footer?
    >>
    >> Thanks

    >
    >
    >.
    >
     
    Vishal, Dec 16, 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. J.Ram
    Replies:
    7
    Views:
    681
  2. Pavel
    Replies:
    7
    Views:
    563
    Pavel
    Sep 19, 2010
  3. Lakshmi Sreekanth

    i = 10; result = ++i - --i; How result become ZERO

    Lakshmi Sreekanth, Sep 21, 2010, in forum: C Programming
    Replies:
    52
    Views:
    1,238
    Nick Keighley
    Sep 23, 2010
  4. Mr. Buffoon
    Replies:
    4
    Views:
    354
    Eric Sosman
    Sep 23, 2010
  5. Michael Tan
    Replies:
    32
    Views:
    1,079
    Ara.T.Howard
    Jul 21, 2005
Loading...

Share This Page