VB题,急急急,速求啊!!!
VB题,急急急,速求啊!!!
日期:2016-06-25 20:27:24 人气:1
很简单啊,用adodc控件连接数据库做例子:
1.窗体运行时连接数据->打开房间记录表,用do while循环将每一个房间号添加到combo下拉信息框
Private Sub Form_Load()
Adodc1.ConnectionString = "Provider=SQLOLEDB.1;Persist Security Info=True;User ID=materuser;Password=;Initial Catalog=nanyuenew;Data Source=127.