登录
首页 » c++ » VC++操作数据库

VC++操作数据库

于 2022-08-08 发布 文件大小:412.22 kB
0 127
下载积分: 2 下载次数: 1

代码说明:

12.1 如何引入ADO动态链接库 12.2 如何初始化COM库 12.3 如何使用ADO打开、关闭数据库连接 12.4 如何使用ADO打开、关闭记录集 12.5 如何使用ADO执行SQL命令 12.6 如何使用ADO在数据库中移动记录集 12.7 如何使用ADO在数据库中访问记录 12.8 如何使用ADO在数据库中修改记录 12.9 如何使用ADO在数据库中添加记录 12.10 如何使用ADO在数据库中删除记录 12.11 如何使用ADO在数据库中查找记录 12.12 如何使用ADO在数据库中操作长二进制数据

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • md5
    MD5的加密解密算法,c语言编写,可直接编译运行(MD5 Encryption and Decryption Algorithms)
    2019-01-15 17:32:00下载
    积分:1
  • TMS320F2812控制永磁同步电机
    2022-09-22 09:25:03下载
    积分:1
  • 200710102231994230
    优化的G729通信包,自定义按钮、通信包。语音的延迟处理,太多东西值得我们去学习。解压密码vscodes.com(G729-optimized communications package, custom button, communications package. Voice of the delay in processing, too many things worth learning. Unzip password vscodes.com)
    2007-10-21 12:34:37下载
    积分:1
  • Octree_openGL
    八叉树空间划分,结合vs2013平台,opengl显示(Octree space division, combined with vs2013 platform, OpenGL display)
    2021-03-16 17:09:21下载
    积分:1
  • 图像处理几种简单算法的集合
    图像处理一些简单的算法的实现,可以对图像进行二值化,锐化,Canny算子提取轮廓,中值滤波,傅立叶变换等操作。
    2022-05-30 14:02:41下载
    积分:1
  • EEPROM
    msp430 I2C读写源程序,两个例程。(MSP430 I2C)
    2009-07-20 18:37:26下载
    积分:1
  • Introduction-to-Algorithms
    算法导论,英文版,算法方面的经典书籍。适合英文好的同学食用(Introduction to Algorithms, English, arithmetic aspects of classic books. English for good students to eat)
    2015-08-23 11:27:01下载
    积分:1
  • PTSclipping_PTS_clipping01
    说明:  pts-clipping与 pts与clipping(pts-clipping and pts and clipping)
    2020-06-01 22:54:22下载
    积分:1
  • TensorFlowSharp-master源码共享
    TensorFlowSharp-master源代码,希望对大家有用TensorFlowSharp-master源代码,希望对大家有用TensorFlowSharp-master源代码,希望对大家有用TensorFlowSharp-master源代码,希望对大家有用TensorFlowSharp-master源代码,希望对大家有用TensorFlowSharp-master源代码,希望对大家有用TensorFlowSharp-master源代码,希望对大家有用TensorFlowSharp-master源代码,希望对大家有用TensorFlowSharp-master源代码,希望对大家有用
    2022-02-05 07:02:24下载
    积分:1
  • EF Code First简介及一个入门级实例
    一、EF Code First简介 EntityFramework 代码优先   二、EF Code First第一个简单实例 1、开发环境及数据库说明 开发环境:Visual Studio 2010 Ultimate sp1 Sql Server 2008 R2 数据库:Northwind 2、实例代码结构 结构说明: App:控制台应用程序 Data:数据访问 Domain:实体类 3、安装Entity Framework   在Visual Studio编辑器中点击Tools -> Library Package Manager -> Package Manager Console,在Package Manager Console窗口中执行下面语句,安装最新版Entity Framework。 PM> Install-Package EntityFramework   App层和Data层分别添加对EntityFramework的引用:     在App层安装EntityFramework之后,将自动添加App.config和packages.config文件。   App.config配置Entity Framework版本信息及数据库连接信息,修改其中数据连接信息以适应本地实际环境。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15   packages.config现实当前项目使用的package: 1 2 3 4 4、实例代码 Domain中Category.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Northwind.Domain.Entities 7 { 8 public class Category 9 { 10 /// 11      /// 分类ID 12      /// 13 public int CategoryID { get; set; } 14 15 /// 16      /// 分类名称 17      /// 18 public string CategoryName { get; set; } 19 } 20 } Data中NorthwindContext.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using System.Data.Entity; 7 8 using Northwind.Domain.Entities; 9 10 namespace Northwind.Data 11 { 12 public class NorthwindContext : DbContext 13 { 14 public DbSet Categories { get; set; } 15 } 16 } App中Program.cs 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 using Northwind.Data; 7 using Northwind.Domain.Entities; 8 9 namespace Northwind.App 10 { 11 class Program 12 { 13 static void Main(string[] args) 14 { 15 Category c = new Category() { CategoryName = "电子数码" }; 16 17 using (NorthwindContext db = new NorthwindContext()) 18 { 19 db.Categories.Add(c); 20 db.SaveChanges(); 21 } 22 23 Console.WriteLine("Finish"); 24 Console.ReadKey(); 25 } 26 } 27 } 5、运行说明   由于在上面的数据库连接字符串中并未包含指定的数据库名称,运行成功之后,将在本地数据引擎中创建如下数据库和表:   数据库名称:Northwind.Data.NorthwindContext   表名称:Categories 6、示例代码附件
    2014-04-22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载