本文介绍了如何在组合框中显示两列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望在组合框上显示代码和描述列,并且在选择特定行时只能在组合框上显示代码.
解决方案尝试一个其中: 带有链接文本框的可搜索多列组合框 [ ^ ] 一个数据绑定的多列组合框 [ ^ ] 多列组合框 [ ^ ] CP上可能有更多的多列组合框文章.有一个很好的发现方法:使用搜索功能! 注意:所有这些都在C#中,但是正如我多次指出的那样:您不需要在VB中包含代码,只需将其编译为dll并从您的VB项目中引用它即可. 此 [ ^ ]线程(向下滚动以从Microdeveloper进行回答)中包含一些声称可以执行此操作的代码.
I want to display code and description column on a combobox and be able to display only code on the combobox when a particular row is selected.
解决方案 Try one of these: Searchable MultiColumn ComboBox with Linked TextBox[^] A data-bound multi-column combobox[^] Multi Column ComboBox[^] There could be more multi-column combobox articles here on the CP... There''s a good way to find out: Use the search function! NOTE: All of these are in C#, but as I''ve pointed out several times: You don''t need to have the code in VB, just compile it to a dll and reference it from your VB project.This[^] thread on DaniWeb (Scroll down to answer from Microdeveloper) has some code that claims to be able to do this.更多推荐
如何在组合框中显示两列
发布评论