MFC组合框问题 [英] MFC combobox problem

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

问题描述

您好!我是MFC编程的新手,我的英语并不完美...我有一个组合框和一个Access数据库。当应用程序启动时,我希望我的组合框绑定并填充数据库中的项目。我怎样才能做到这一点?因为我是新的,请一步一步走。谢谢

Hi!! I am new in MFC programming, and my english is not perfect... I ve got a combobox and a Access database. When the app start I want my combobox binded and filled with items from a database. How can I do this? Since I am new please go step by step. Thank you

推荐答案

在MFC中并不容易。没有办法直接绑定combodox ...数据库支持在C#中更舒服。

也读这个:

在MFC程序中使用数据库 - 初学者的经验 [ ^ ]
It's not that easy in MFC. There is no way to bind combodox directly... Database support more comfortable in C#.
Read this as well:
Using Database in your MFC program - A beginner's experience[^]


这篇关于MFC组合框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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