如何选择组合框值 [英] how to select the combobox value
本文介绍了如何选择组合框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的所有人,
我使用的是visual studio 2008 c#和sql server数据库。
我有一个组合框和一个列表框。
我在项目表中保存了一些保存在数据库中的数据,当我从组合框中选择值时,我希望在列表框中检索这些数据。
那么怎么可能plz给我一些示例代码。
解决方案
加载MSDN帮助页面:http://msdn.microsoft.com/en-us/library/system.windows.controls.combobox.aspx [ ^ ]。
现在,在浏览器中,激活查找对话框并搜索子字符串已选择。
知道了吗?
如果没有,请参阅: Microsoft Q209354 。
祝你好运,
-SA
Dear All,
I m using visual studio 2008 c# and sql server database.
I have one combo box and one list box.
I have save some data in item table which is save in database and I want retrieve this data in the list box when I am select the value from the combobox.
So how it is possible plz give me some example code.
解决方案
Load the MSDN help page: http://msdn.microsoft.com/en-us/library/system.windows.controls.combobox.aspx[^].
Now, in your browser, activate the Find dialog box and search the sub-string "Selected".
Got it?
If not, see also: Microsoft Q209354.
Good luck,
—SA
这篇关于如何选择组合框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文