当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO Source 属性

ADO
ADO DataTypes
ADO 摘要
ADO 实例

ADO Source 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 327 ::
收藏到网摘: n/a

The Source property sets a string value or a Command object reference, or returns a String value that indicates the data source of the Recordset object.
Source属性的作用是:设置一个字符串值,或是一个Command[指令]对象参数,或是返回一个字符串,用于知名Recordset[记录集]对象的数据源。

The data source can be one of the following:
数据源可以是以下值:

  • A Command object
    一个Command[指令]对象
  • An SQL statement
    一个SQL语句
  • A stored procedure
    一个现存的程序
  • A table name
    一个表名称

This property is read/write on a closed Recordset objects and read-only for an open Recordset object.
该属性对于一个关闭的Recordset[记录集]对象来说是可读/可写的,但对于一个开打的Recordset[记录集]对象来说是只读的。

Syntax
语法

objRecordset.Source

评论 (0) All

登陆 | 还没注册?