如何使用textbox textchange事件在listview控件中搜索项目 [英] How to search item in listview control using textbox textchange event

查看:54
本文介绍了如何使用textbox textchange事件在listview控件中搜索项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

地狱先生

我希望使用textchange事件在listview中搜索项目并在vb.net中选择项目请帮助我。这对我来说非常重要。



我尝试了什么:



i我正在创建计费系统,我想在列表视图中搜索项目名称,并通过键入ex来选择。我输入笔然后按statring项目名称pen排序listview alphabetacully

解决方案

尝试使用FindItem方法,下面的页面上有一个示例。



FindItem方法(ListView控件) [ ^

Hell sir
I want search item in listview using textchange event and select item in vb.net please help me. its very impotant for me.

What I have tried:

i am creating billing system and i want search item name in listview and select by typeing ex. i type pen then sort listview by statring item name "pen" alphabetacully

解决方案

Try the FindItem method, there's an example on the page below.

FindItem Method (ListView Control)[^]


这篇关于如何使用textbox textchange事件在listview控件中搜索项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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