problem in footer template in datagrid(asp.net)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • youvrajasnsm
    New Member
    • Mar 2007
    • 8

    problem in footer template in datagrid(asp.net)

    Hi,
    >I am working on ASP.net,using language .
    >I am using datagrid control and i filled it through datasource.
    >I have a column name Price and i want to sum price in Footer Template.
    >Can anybody tell me How to use of Template column in datagrid and sum in it.

    Please reply me soon.......

    With regards
    Yuvraj Porwal
    Web developer
    Jaipur(India)[/B]
  • youvrajasnsm
    New Member
    • Mar 2007
    • 8

    #2
    problem in footer template in datagrid(asp.ne t)

    Hi,
    >I am working on ASP.net,using language .
    >I am using datagrid control and i filled it through datasource.
    >I have a column name Price and i want to sum price in Footer Template.
    >Can anybody tell me How to use of Template column in datagrid and sum in it.

    Please reply me soon.......

    With regards
    Yuvraj Porwal
    Web developer
    Jaipur(India)[/B]

    Comment

    • Ripendra007
      New Member
      • Feb 2007
      • 27

      #3
      Hi u have to find sum when ever u queryieng the database and fing the sum so u will have a sum of price also with in ur dataset and then bind that sum column of datasource with the footer template column........A ll the Best...Bye

      Comment

      • MMcCarthy
        Recognized Expert MVP
        • Aug 2006
        • 14387

        #4
        This question is being moved to the .NET forum.

        ADMIN

        Comment

        • kenobewan
          Recognized Expert Specialist
          • Dec 2006
          • 4871

          #5
          Here is an article that may help:
          An Extensive Examination of the DataGrid Web Control: Part 13

          Comment

          • youvrajasnsm
            New Member
            • Mar 2007
            • 8

            #6
            Originally posted by Ripendra007
            Hi u have to find sum when ever u queryieng the database and fing the sum so u will have a sum of price also with in ur dataset and then bind that sum column of datasource with the footer template column........A ll the Best...Bye
            Thanks for replying.....
            Sir i am fresher so Can u send me code for about this....

            Comment

            • kenobewan
              Recognized Expert Specialist
              • Dec 2006
              • 4871

              #7
              Please don't ask someone to send you code. Attempt the suggestion and report back how you got on. I have merged your two threads as you merely reposted the same question. Thanks.

              Comment

              Working...