列表框:区分大小写的高效搜索 [英] Listbox: Case-sensitive efficient search
本文介绍了列表框:区分大小写的高效搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个列表框和一个文本框。列表框中包含大量的单词。当我在文本框中输入一个单词时,将在列表框中选择单词。(区分大小写正在使用ie ... A和a不同。
我的问题是需要花费很多时间。我该怎么办?
请帮帮我.. ....
解决方案
由于数据量增加,需要更多时间。你能发布一些样本数据吗?
我们可以帮助您对列表进行分类。
注意:解释逻辑搜索方式以及搜索方式?
数据是字典中的单词。我的项目正在开发字典。
如何列表框是否获取其数据?
您是从aan数组还是直接从数据库绑定它?
如果您使用的是数组,试着看字典< T,T>类。
Hi ,
I have a list box and a textbox.The listbox containing very large number of words.When i enter a word in the textbox that word will be selected in the list box.(Case sensitivity is using ie...A and a are different).
My problem is it take lot of time.What can i do?
Please help me......
解决方案
It will take more time because of more data. Can you post some sample data.
We can help you to categorize the list.
Note : Explain the logic how you are searching data and how you want to search?
Hi,
The data is the words in dictionary.My project is developing a dictionary.
Hi,
how does the listbox get its data?
are you binding it from aan array or directly from the database?
if you are using an array, try looking at the Dictionary<T,T> class.
这篇关于列表框:区分大小写的高效搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文