在DataGridView中搜索.... [英] searching with in the DataGridView....

查看:174
本文介绍了在DataGridView中搜索....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从.Net Framework的预定义Windows控件中在DataGridView中使用而不使用自定义的MessageBox进行搜索?
我的意思是..
我可以在DataGridView中进行搜索吗?
假设我已将数据源绑定到DataGridView,现在可以在DataGridView中进行搜索,但不能在其DataSource中进行搜索...
使用来自用户的任何输入方式(必须是预定义的Windows控件).....

is it possible to search with in the DataGridView without using a customized MessageBox, from predefined windows controls of .Net Framework?
i means..
can i search with in the DataGridView...
suppose i have binded the Datasource to the DataGridView now can i search with in the DataGridView but not in DataSource of it...
using any means of input( which has to be predefined Windows control) from user.....

推荐答案

是的,您可以将搜索框放入表单中.没有自定义消息框"之类的东西,您只需要编写自己的表单即可.在控件中搜索而不是在数据源中搜索是愚蠢的,但是您可以根据需要进行搜索.
Yes, you can put the search box inside your form. There is no such thing as a ''customised messagebox'', you just have to write your own form. Searching in the control and not the data source is stupid, but you can do it if you want to.


这篇关于在DataGridView中搜索....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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