访问数据库连接问题 [英] acess database connecion problem

查看:138
本文介绍了访问数据库连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个项目,其中包含一个音乐播放器,其中包含一个访问数据库,其中各种歌曲被吸引到它,所以我的主要问题是链接数据库与表格 将此数据库与组合框链接 

解决方案

嗨MARVIN,


对此延迟回复表示歉意。


首先,您需要安装 来解决它。


3,显示成员:ComboBox项目中显示的数据源中的项目


4,超值会员: 数据源中项目的相应数据


希望它有所帮助。


最诚挚的问候,


Dylan



hi please i have project which consist of a music player that contains contains an acess database in which various songs are been attrached to it , so my main problem is to link the database with the form  link this database with the combobox 

解决方案

Hi MARVIN,

Sorry for this delay in reply.

First of all, you need to install Microsoft Access Database Engine

Then you can bind database to combox box through the following steps:

1,select your combox box>> click the triangle >> select Use Data Bound Items

2,Data Source, click Add Project Data Source in the drop-down box >> choose the database,click next>>choose dataset>>click new connection..>>click change..>>select Microsoft Access Database File,click OK>>Browser your source file(.accdb file) ,click OK>>Click OK, click next>>select your table in your database>>click finish

Note: If you fail to add it, please click this to troubleshoot it.

3,Display Member : item in the datasource that is displayed in the ComboBox items

4,Value Member : The corresponding data for items in the datasource

Hope it can be helpful.

Best Regards,

Dylan


这篇关于访问数据库连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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