如何在Textchange中搜索列表视图 [英] How to Search Textchange for listview

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

问题描述

我想为列表视图进行文本框搜索textchange如何解决此问题?请帮助我

I wanna make a textbox search textchange for listview how to solve this problem? pls help me

推荐答案

在这里不起作用.

这是询问者的期望:
1. 先尝试您要做什么!您可能会发现它并不难.
2.制定看起来像问题/无法解决的问题.

试试看,告诉他们是否遇到问题.



您说您想"做某事.好的,继续尝试,然后发布特定问题.
您只需要放置一个文本框和一个列表框.定义一个textchange处理程序,您就很好了.
在textchange处理程序中,您需要获取当前文本,然后基于该文本形成查询并从数据库获取数据以与listview绑定.

立即尝试!
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it''s not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.



You say you ''wanna'' do something. Ok, go ahead try out and then post specific issue.
All you want is to put a textbox and a listbox. Have a textchange handler defined and you are good to go.
In textchange handler, you need to get the current text and then based on it form a query and get the data from database to bind with listview.

Try now!


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

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