从数据库填充多列组合框 [英] Populate multi column combo box from Database

查看:82
本文介绍了从数据库填充多列组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!我正在使用ADO.NET从SQL服务器中填充多列组合框(Microsoft组合框控件)。我想在组合框中加载4列。我不知道如何继续这样做...我对C#很新,还在学习。如果有人能在这方面帮助我,我将不胜感激。



提前致谢。

解决方案





您使用的是哪种控件?通常微软提供的组合框是单​​列显示。如果您使用第三方工具箱,因此第三方(比如Telerik,ComponentArt等)提供了在组合框中显示多个列的组件,请检查由同一供应商提供的SDK。 Nornally他们提供了所有帮助/示例代码如何使用该控件。



如果独立SDK(可能安装在开发框中的第三方SDK)和例子还不够,他们有自己的在线论坛来支持它。您也应该考虑在他们的在线论坛上发帖。



如果有帮助,请告诉我。


Hi guys! i am on stuck populating multi column combo box (Microsoft combo box control) from SQL server using ADO.NET. I want to load 4 columns in the combo box. I have no idea how to proceed the same.. i am very new to C# and still learning. I would appreciate if anybody can help me in this regard.

Thanks in advance.

解决方案

Hi,

Which control are you using? Normally microsoft provided combobox is single column is displayed. In case you are using a third party toolbox hence third party(say Telerik, ComponentArt etc) provided component which displayes multiple column in a combobox, please check the SDK, provided by the same vendor. Nornally they provide all help/example code how to use that control.

If the stand alone SDK( the third party SDK that might be installed in your dev box) and example is not enough, they have their online forum to support it. You should consider posting in their online forum also.

Let me know if it helps you.


这篇关于从数据库填充多列组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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