ADONET数据库应用程序设计.pptVIP

  • 5
  • 0
  • 约1.22万字
  • 约 61页
  • 2016-12-05 发布于重庆
  • 举报
ADONET数据库应用程序设计

第7章 ADO.NET数据库应用程序设计 第7章 ADO.NET数据库应用程序设计 第7章 ADO.NET数据库应用程序设计 第7章 ADO.NET数据库应用程序设计 第7章 ADO.NET数据库应用程序设计 第7章 ADO.NET数据库应用程序设计 第7章 ADO.NET数据库应用程序设计 第7章 ADO.NET数据库应用程序设计 7.3 用DataSet处理脱机数据 7.3.2 DataSet对象的创建 图7-5 设置数据集主键 7.3 用DataSet处理脱机数据 7.3.2 DataSet对象的创建 3.用VB.NET代码创建DataSet (1)Dim ds as DataSet ‘新建数据集 (2)Ds=New DataSet(“QTGL”) ‘指向特定的数据库 (3)Dim dtCustomer as New DataTable(“旅客”) ‘创建datatable对象并指向特定的数据表 步骤3可替换为: Dim dtCustomer as New DataTable=Ds.tables.add(“旅客”) 7.3 用DataSet处理脱机数据 7.3.3 DataSet对象的常用属性 Tables:返回一个DataTableCollection对象。 7.3.4 DataSet对象的常用方法 AcceptChanges:将修改

文档评论(0)

1亿VIP精品文档

相关文档