看到组合框中的全部价值 [英] see full value in combobox

查看:77
本文介绍了看到组合框中的全部价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在组合框中输入单词的第一个字符时,我希望看到完整的值

i want to see full value when i enter 1st charactor of word in combobox

推荐答案

将组合框的AutoCompleteMode属性值设置为Suggest或Append或SuggestAppend和



将AutoCompleteSoucre属性值设置为ListItems.This将执行您想要的操作。







谢谢,

Sohaib Ahmed





<小> 不必要的代码块被删除[/ edit]
Set Combo box's AutoCompleteMode property value to Suggest or Append or SuggestAppend and

Set AutoCompleteSoucre property value to ListItems.This will do what you wanted.



Thanks,
Sohaib Ahmed


[edit]unnecessary Code block removed[/edit]


使用Bindingsource将你的组合框绑定到数据源。

然后将 AutoCompleteMode 设置为 SuggestAppend 并将 AutoCompleteSource 设置为 ListItems



它应该从那里排序。
Bind your combobox to a datasource using a Bindingsource.
Then set AutoCompleteMode to SuggestAppend and AutoCompleteSource to ListItems

It should sort itself out from there.


试试这个:



使用DataBase和Ajax自动完成ControlToolkit [ ^ ]



希望有帮助:)
Try this:

AutoComplete With DataBase and AjaxControlToolkit[^]

hope it helps :)


这篇关于看到组合框中的全部价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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