首页 | 本学科首页   官方微博 | 高级检索  
     检索      

VB中数据控件绑定控件与数据库的关系及应用
引用本文:陈伟,程黄金.VB中数据控件绑定控件与数据库的关系及应用[J].淮南职业技术学院学报,2004,4(1):83-86.
作者姓名:陈伟  程黄金
作者单位:淮南联合大学,安徽,淮南,232001
摘    要:在VB的窗体中,若要让数据库表中的数据在文本框、图片框、复选框中随着记录指针移动而相应发生变化,可引进数据控件这一对象,再把文本框、图片框等和数据控件结合到一起即进行绑定,最后利用数据控件和绑定控件的相应属性与数据库联系起来,这样就实现了数据控件和绑定控件对数据库的表中数据的访问,让数据库表中的每一条记录都可清楚地在窗体中随用户需要进行刷新、修改、添加等。

关 键 词:VB  数据控件  绑定控件  数据库  属性  数据访问
文章编号:1671-4733(2004)01-0083-04
修稿时间:2004年2月18日

The Relationship and Application of Data Component,Binding Component and Database in VB
CHEN Wei,CHENG Huang-jin.The Relationship and Application of Data Component,Binding Component and Database in VB[J].Journal of Huainan Vocational & Technical College,2004,4(1):83-86.
Authors:CHEN Wei  CHENG Huang-jin
Abstract:In VB forms, we may use data component to make the database list's data in textbox, picture box and check box move according to record index. We firstly combine textbox, picture box, etc with data component, i.e., bind them. Then we use the attribute of data component and binding component to relate them with database. Now we may use data component and binding component to visit database list's data, and the record can be refreshed, modified, appended, etc. in forms, following users' needs.
Keywords:VB  data  component  database  application
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号