如何在网格视图中添加文本框? [英] How to add textbox in the grid view ?

查看:96
本文介绍了如何在网格视图中添加文本框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在gridview中添加搜索选项的文本框?这是可能的,如果是,那么我应该怎么做。

解决方案

在gridview的右上角,单击添加列并添加一个Itemtemplate。然后单击编辑模板并使用工具箱添加文本框。



搜索是一个代码隐藏的东西。在相关类下创建一个方法,并获取您通过gridview的文本框发送的参数。



对不起我的英文。这不是我的母语。



Emre。


访问这里......

< br $>


访问GridView控件内的不同控件 [ ^ ]




您正在搜索的是在gridview中搜索然后

http://www.aspdotnet-suresh.com/2011/12 /search-records-in-gridview-and.html [ ^ ]

在网格中显示大量数据使用搜索功能查看 [ ^ ]

http://csharpdotnetfreak.blogspot.com/2008/12/search-within-records-in-gridview-with.html [ ^ ]

带有搜索选项的ASP.NET GridView(SearchableGridView) [ ^ ]

I want to add the textbox for search option in the gridview ? Is that possible if yes then what should I do to do so.

解决方案

On the right top of gridview click add column and add an Itemtemplate. Then click edit templates and add a textbox by using toolbox.

Searching is a codebehind stuff. Create a method under the related class and get the parameter that you have send via gridview's textbox.

Sorry for my English. It is not my mother tongue.

Emre.


Visit here...


Accessing the different controls inside a GridView control[^]


hi,
what you are searching is search inside gridview then
http://www.aspdotnet-suresh.com/2011/12/search-records-in-gridview-and.html[^]
Display Large Amount of Data in GridView with Search Functionality[^]
http://csharpdotnetfreak.blogspot.com/2008/12/search-within-records-in-gridview-with.html[^]
ASP.NET GridView with search option (SearchableGridView)[^]


这篇关于如何在网格视图中添加文本框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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