如何显示GridView页脚 [英] How to display GridView Footer
本文介绍了如何显示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.
推荐答案
请参考: ^ ]
在GridView的页脚中显示摘要信息 [在GridView的页脚中显示总计 [如何在GridView页脚中显示总计 [
Please refer: GridView.ShowFooter Property[^]
Displaying Summary Information in the GridView''s Footer[^]
Displaying Total in Footer of GridView[^]
How To Show Total In GridView Footer[^]
只要制作ShowFooter="True"
Hi ,
Just makeShowFooter="True"
<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
看看这些:
MSDN:ASP.NET 2.0的GridView示例:在页脚中显示摘要数据 [ ^ ]
在GridView的页脚中显示总计 [显示摘要GridView的页脚(C#)中的信息 [ CodeSnip:如何在GridView控件的页脚中显示总数 target ="_ blank" title ="New Window"> ^ ]
试试吧!
Have a look at these:
MSDN: GridView Examples for ASP.NET 2.0: Displaying Summary Data in the Footer[^]
Displaying Total in Footer of GridView[^]
Displaying Summary Information in the GridView''s Footer (C#)[^]
CodeSnip: How to Display Sum Total in the Footer of the GridView Control[^]
Try!
这篇关于如何显示GridView页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文