如何在datagridview中显示页脚 [英] How to show the Footerrow in datagridview

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

问题描述

大家好,

我试图在datagridview中显示页脚行,以保存此iam设置属性的详细信息

hi all,

i am trying to display the footer row in datagridview to save the details for this iam setting property

dataGridView1.AllowUserToAddRows = true;//this property not working



但它没有在datagridview中显示页脚行

还有其他方法可以显示页脚行吗?

让我知道这个细节

在此先感谢..............



but it''s not showing the footer row in datagridview

is there any other way to show the footer row?

let me know the details of this

Thanks in advance..............

推荐答案

选中此选项.

http://www.dotnetspider.com/forum/216486-How-add-text-footer-datagrid-window-form-control.aspx [
Check this.

http://www.dotnetspider.com/forum/216486-How-add-text-footer-datagrid-window-form-control.aspx[^]


示例,您必须在gridview中添加以下内容.

for sample you have to add the following in gridview.

<FooterTemplate>
   <asp:Button runat="server" ID="btn1" Text="Insert/Delete" />
</FooterTemplate>


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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆