Click here to Skip to main content
12,511,648 members (44,691 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET4
hi firends
how create footer in grid view that to sum filed gridview

and create header that write up header "all list user"
Posted 25-Sep-12 19:25pm
Ankur\m/ 26-Sep-12 2:14am
Does it not already have such properties? Have you tried (or at least searched) enough?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Use some other controls, like Label. Dock them, say, to the top and bottom of the parent panel, fill the grid view in the middle. Re-calculate your values as you change any cell and assign new values to the texts of those labels.

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Try following code in your .aspx file.

<asp:gridview id="Griddealers" runat="server" bordercolor="#55A0FF" xmlns:asp="#unknown">
<asp:templatefield headertext="all list user" headerstyle-cssclass="grdheadermster" visible="True">

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 28 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100