本文介绍了如何显示GridView页脚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是asp.net的初学者,我正在使用gridview添加新项目,我想在数量单元格中向网格页脚显示总值.

kinldy建议我如何使用Gridfooter并kinldy附加代码.

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.

推荐答案


<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>


最好的问候
M.Mitwalli


Best regards
M.Mitwalli



这篇关于如何显示GridView页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 07:59
查看更多