如何从TextBox中过滤Windows应用程序中的grdiview [英] How to Filter a grdiview in windows App from a TextBox

查看:72
本文介绍了如何从TextBox中过滤Windows应用程序中的grdiview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我怎样才能从文本框中按日期过滤我的grdiview?

我知道这里有很多教程,但我只遇到了

Web应用程序示例如果我有gridview,textbox,我输入date,它应该根据需要进行过滤。

感谢您的建议

Julie 。

解决方案

嘿朱莉娅,我刚刚在这个网站的@George Jonsson的帮助下解决了这个问题,所以请转到此链接,看看如何我使用dateTimePicker完成了我的操作,只需跟风,你就应该好了:))

通过dateTimePicker过滤DataGridView [ ^ ]> ;

Hi all , how can I filter my grdiview by date from a textbox?
I know there are tons of tutorials in here for that but I have only come across
Web application example how can I do that given I have gridview, textbox where I enter the "date" and it should filters as required.
Thanks for any advice
Julie.

解决方案

Hey Julia,I just solved this problem my self with the help of "@George Jonsson" here on this site, so go to this link and see how I did mine using dateTimePicker and just follow suit ,you should be fin Ok:))
ow to filter DataGridView by dateTimePicker[^]>


这篇关于如何从TextBox中过滤Windows应用程序中的grdiview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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