如何在gridview中插入行? [英] how insert row in gridview?
本文介绍了如何在gridview中插入行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友
我尝试在gridview中插入一行.
并在gridview的页脚中添加文本框.
hello friends
i am try to insert an row in the gridview.
and add textbox in the footer in the gridview.
<pre lang="xml"><FooterTemplate><br />
<asp:TextBox ID="textlogin" runat="server"> </asp:TextBox><br />
</FooterTemplate></pre><br />
但文本框未显示在gridview中
有人指导我背后的原因是什么??
but textbox not show in the gridview
anyone guide me what the reason behind it???
and how i am show textbox so that i can insert data in gridview?
推荐答案
您已更改页脚行的可见性,
GridView1.FooterRow.Visible = true;
You have change the visibility of footer row,
GridView1.FooterRow.Visible = true;
U可以尝试这种方式...
U Can Try This Aslo...
Go GridView Property
Set "ShowFooter" property to true
哦,是的,谢谢我的朋友们
问候
迪帕克
ohhhh yes thanks my friends
Regards
Deepak
这篇关于如何在gridview中插入行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文