使用海关文本框时出现问题 [英] Problem using the customsource textbox
本文介绍了使用海关文本框时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
朋友们,我在使用海关文本框时遇到了问题。我使用查询从mysql表中获取一些特定数据,并将其作为c#项目中的自定义源数据添加到文本框中。问题是,我不能使用向下箭头按钮来选择海关数据。如果我将属性设置为:
Hi friends, I am facing a problem using a customsource text box. I am getting some particular data from mysql table using a query and I am adding it to a textbox as custom source data in a c# project. The problem is, I can''t use the down arrow button to select customsource data. If I set the property as:
textbox.AutoCompleteSource = AutoCompleteSource.None;
在它正在运行的代码中。我下次打字时无法从db获取完整数据。有人可以给我解决方案吗?
in the code it is working. I can''t get the full data from db when I am typing next time. Can anybody give me the solution please?
推荐答案
您指定当前没有使用 AutoCompleteSource
,所以这是正常的;请参阅文档 [ ^ ]以获取更多信息。
You are specifying that no AutoCompleteSource
is currently in use, so that is working correctly; see the documentation[^] for further information.
这篇关于使用海关文本框时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文