列表框的问题 [英] problem with listbox
本文介绍了列表框的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有3个文本框,我想在1个列表框中添加这些文本框值。在第一个文本框中添加国家/地区名称,在另一个文本框中添加城市名称。我想在listbox中显示countryname | cityname ..以及如何从listbox.plz中删除seelcted item帮助我?
i have 3 text boxes and i want to add those textboxes value in 1 listbox..suppose country name in 1st textbox and cityname in another text box. and i want to show countryname|cityname in listbox..and how to remove seelcted item from listbox.plz help me?
推荐答案
你的问题是什么? ?假设你正在使用C#
,你不能写下来吗<
And what''s your trouble with? Assuming you are usingC#
, cannot you write
myListBox.Add(myFirstTextBox.Text);
..
?
?
这篇关于列表框的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文