联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 ADO is AOK (a simple ADO tutorial) - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • FCK editor
  • GLgraph
  • Async Professional
  • -= 更多 =-

    项目描述:
    We are all familiar with the CDatabase classes, and the CDaoDatabase classes. They are relitivly simple to use, they mesh well with our applicaiton and they are easily distributed. Using something like the GenericRecordset class (found here ar code guru) makes it even easier to create powerful database aplication with little effort on your part.

    Now just as you felt safe to start doing database development in C++, Microsoft pushes something called UDA (Universal Data Access) and a relitivly simple but mostly undocumented object called ADO (ActiveX Data Object). Unfortunatly they felt that there is little need to show any kind of documentation for us Visual C developers. If you try to search around you will be hard pressed to find any good examples. Even here at code guru there is only 1 other article about ADO.

    So after several months of playing around with ADO, I finally feel good about it, and will probably never use anything but ADO for all huturd development. When you see how easy it is to use ADO, and how powerfull it is (can we say thread safe?) you will probably never go back either. When I wrote the GenericRecordset for DAO, it was to provide a simple way to use dynamic data binding. That is, to allow me to base a recordset on a query rather than a table. One of the things I liked about ADO from the start was that this, dynamic data binding, is the default way ADO works.



    ADO is AOK(简单的ADO教程)

    我们都熟悉CDatabase类和CDaoDatabase类。他们使用简单,在我们的应用中他们耦合的很好,并且他们能后很容易的分开处理。 GenericRecordset类的使用是你更加容易的创建功能强大的数据库应用。

    Now just as you felt safe to start doing database development in C++, Microsoft pushes something called UDA (Universal Data Access) and a relitivly simple but mostly undocumented object called ADO (ActiveX Data Object).不幸的是他们认为没有必要为我们这些Visual C 的开发者提供任何类型的文档。如果你试图搜寻,你将会发现很难找到任何的好例子。即使是在这里--code guru也只有1篇关于ADO的文章。 当我为DAO写了GenericRecordset的时候,它要提供一个简单的使用动态数据绑定的方法。就是允许我基于一个查询的记录集,而不是基于一个表的记录集。从一开始我喜欢ADO的原因时动态的数据绑定,这也是ADO默认的工作方式。
    来源: http://www.codeguru.com/mfc_database/Ado_Aok.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    Ado_Aok_demo  1.0  2004-04-19 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/mfc_database/Ado_Aok_demo.zip

      » 合 作 伙 伴