如何使用组合框从数据库中获取数据 [英] how to get data from database using combobox

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

问题描述

任何人都可以帮我编写代码,使用combobox从数据库中获取字段,并且应该使用vb6.0显示数据网格中的相应记录

can anyone help me to write the code to get a field from database using combobox and that should display the corresponding record in datagrid using vb6.0

推荐答案

As你在文章部分发布了一个问题,它正被移到Visual Basic论坛


MODERATOR。
As you have posted a question in the articles section it is being moved to Visual Basic Forum

MODERATOR.



任何人都可以帮我编写代码,使用组合框从数据库中获取字段,并且应该使用vb6.0
显示数据网格中的相应记录
can anyone help me to write the code to get a field from database using combobox and that should display the corresponding record in datagrid using vb6.0



1问题,你在使用ADODC对象还是ADODB?


让我们说你使用ADODC,只需下载我的附件。


1件事,在桌面上打开它。如果错误,只需再次建立ADODC对象的连接。


问候

欧文





1 Question, Are you Using ADODC Object or ADODB?


Lets Say that your using ADODC, Just download my attachment.

1 thing, open it On your Desktop. if Error, just establish the connection again of the ADODC Object.

Regards
Ervin

附加文件
New Folder.zip (10.1 KB,951 views)
Attached Files
New Folder.zip (10.1 KB, 951 views)



1问题,你在使用ADODC对象还是ADODB?


让我们说你使用ADODC,只需下载我的附件。


1件事,在桌面上打开它。如果错误,只需再次建立ADODC对象的连接。


问候

欧文
1 Question, Are you Using ADODC Object or ADODB?


Lets Say that your using ADODC, Just download my attachment.

1 thing, open it On your Desktop. if Error, just establish the connection again of the ADODC Object.

Regards
Ervin



非常感谢..........那就是我需要的......


thanks a lot.......... thats what exactly i needed.....


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

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