如何将值和项目设置为组合框 [英] how to set values and items into combobox

查看:63
本文介绍了如何将值和项目设置为组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将值和项目设置为组合框

推荐答案

,或者您可以将其添加到组合框的项目属性中。



即修复物品。

动态物品肯定是另一回事。
or you can add it in the "Items" Property of your combobox.

that is, for fix Items.
Dynamic Items are sure a different story.


如何阅读文档 [ ^ ]?

教程 [< a href =https://www.google.it/search?q=tutorial+vb.net+combo+box&oq=tutorial+vb.net+combo+box&aqs=chrome..69i57j0l5.10570j0j4&sourceid =铬&安培; espv = 210安培; es_ sm = 93& ie = UTF-8target =_ blanktitle =New Window> ^ ]?
What about reading the documentation[^]?
Or a tutorial[^]?


ComboBox1.Items.Add()< br $>


combobox1 - 组合框的名称。

在双引号内添加项目。
ComboBox1.Items.Add(" ")

combobox1 - name of the combobox.
add the items inside the double quote.


这篇关于如何将值和项目设置为组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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