我们如何在c#.ne中搜索组合框中的特定id [英] how can we search particular id in combobox in c#.ne

查看:77
本文介绍了我们如何在c#.ne中搜索组合框中的特定id的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将db值加载到组合框中,现在它包含大量的学生ID,如果我给出任何特定ID,它应该出现在像google搜索框这样的组合框中。

谢谢你

i hav load the db values into combobox ,now it contains bulk of student ids bt i want if i give any particular id it should appear on same combobox like google search box.
thank u

推荐答案

请参考此链接,您可能会得到一些:具有基于子串搜索的建议能力的ComboBox
Refer this link you may get some : ComboBox with Suggest Ability based on Substring-Search


将此属性用于组合框



use this property for comboBox

comboBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;


这篇关于我们如何在c#.ne中搜索组合框中的特定id的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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