如何在VB.Net中使用组合框填充文本框的值 [英] How to populate the value of textbox using combobox in VB.Net
本文介绍了如何在VB.Net中使用组合框填充文本框的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在vb.net中使用组合框填充文本框的值?
How to populate the value of textbox using combobox in vb.net?
推荐答案
您是从哪里获得诸如城市,公司名称等值的. br/> 问题可能来自这些信息的来源.
可以尝试以下任何方法:textbox1.text = myPhone.toString()
问题仍然不清楚!请详细说明!
from where are you getting the values like city,company name etc..
the problem might be coming from the source of these info..
any way try this: textbox1.text=myPhone.toString()
the question is still unclear! please elaborate!
实际上我有客户端ID ....作为主键..
当您从组合框选择一个ID时...组合框受尊重的值将显示为state
城市
公司名称
n一些值在文本框中..这些值不会像电话号码一样显示,............
actually i have client id....as primaty key..
when u select an id from combobox......the respected values from combobox r geting displayed like state
city
company name
n some values are in textbox..which are not geting displayed like phone no,.........
您是否尝试过Textbox1.Text="Here is Some Text"
这篇关于如何在VB.Net中使用组合框填充文本框的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文