资源描述:
《图书管理系统外文翻译》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、VCdatabasewithADOaccesstoallRaiders1,ADOOverviewADOisMicrosoftforthelatestandmostpowerfuldataaccessparadigmdesignedOLEDBisaneasytouseapplicationlayerinterfaces.ADOallowsyoutowriteapplicationsthroughOLE.DBprovidertoaccessandmanipulatethedatainthedatabaseserver.ADOTh
2、emainadvantageiseaseofuse,speed,memoryanddisklessexpenditureremainssmall.ADOincriticalapplicationsusingtheleastnetworktraffic,andfront-endanddatasourcesusedtheleastnumberoflayers,allofwhicharetoprovidealightweight,high-performanceinterface.IscalledADO,isafamiliarme
3、taphor,OLEAutomationinterface.OLEDBisasetof"ComponentObjectModel"(COM)interface,anewdatabaselow-levelinterfacethatencapsulatestheODBCfunctions,andinauniformwaytoaccessinformationstoredindifferentdatasources.OLEDBisMicrosoftUDA(UniversalDataAccess)technologybasestra
4、tegy.OLEDBdatasourceprovidedforanyhigh-performanceaccesstothesedatasourcesincludingrelationalandnon-relationaldatabases,e-mailandfilesystems,textandgraphics,custombusinessobjects,andmore.Inotherwords,OLEDBisnotlimitedtoISAM,Jetandevenrelationaldatasource,itcanhandl
5、eanytypeofdata,regardlessoftheirformatandstoragemethods.Inpractice,thisdiversitymeanstoaccessresidesinExcelspreadsheets,textfiles,e-mail/directoryserviceore-mailserver,suchasMicrosoftExchangeinthedata.However,OLEDBapplicationprogramminginterfaceisintendedtoprovidet
6、hebestvarietyofapplicationfunctions,itdoesnotmeettherequirementsofsimplicity.YouneedtobeanAPItoconnectapplicationsandOLEDBbridge,whichisActiveXDataObjects(ADO).Second,theuseofVCADO(developedasfollows:)1,theintroductionofADOlibraryUseADOintheworksbeforethestdafx.hhe
7、aderfile#importsymbolswiththeintroductionofdirectintroductionofADOlibrariestoenablethecompilertocompilecorrectly.Codeisasfollows:WiththeintroductionofADOlibraryfiles#import#Import"c:programfilescommonfilessystemadomsado15.dll"no_namespacesrename("EOF"adoEOF")Thisli
8、nestatementusedintheprojectstatementADO,butADOdoesnotusethenamespace,andinordertoavoidconstantconflict,theconstantEOFrenamedadoEOF.Nownoneedtoadd