Click here to Skip to main content
16,014,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am beginner in asp.net , i am using gridview to add new items i want to show the total value to the grid footer in amount cell.

kinldy advice how can i use the Gridfooter and kinldy attach the code.
Posted
Comments
Comfizzy 23-May-12 9:48am    
Is your grid bound to any Data source?

Hi ,
Just make ShowFooter="True"
XML
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
     ShowFooter="True">
    <Columns>
        <asp:TemplateField>
            <FooterTemplate>
                <asp:Button ID="Button3" runat="server" Text="add" />
            </FooterTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>

Best regards
M.Mitwalli
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900