常用工具: 简繁转换 HTML/JS互转 Url编码Escape解析 Unicode编码转换 设为首页 加入收藏夹
更多内容
" id="arctext" class="center" " class="arcinfo center" " id="slistl" class="left" " id="mid_slistl_sch" class="left" " id="mid_slistl_adv" class="left" " id="mid_slistl_adv2" " src="http://www.fzs8.net/d/js/acmsd/middle2.js"
文章正文

ASP Hex 函数

来源:  网络收集  字体:[ ]
站内搜索系统
文章正文

ADO Record记录对象

来源:  网络收集  2007-04-28 00:00:00 字体:[ ]

Record Object (ADO version 2.5)
记录对象(ADO 2.5版本)

The ADO Record object is used to hold a row in a Recordset, a directory, or a file from a file system.
ADO Record对象的作用是:持续保存一个记录集、目录或文件系统中文件的行数据。

Only structured databases could be accessed by ADO in versions prior 2.5. In a structured database, each table has the exact same number of columns in each row, and each column is composed of the same data type.
结构化数据库只能被ADO2.5以上版本访问。在结构化数据库中,每个表格中的每行都包含相同数量的列,而且每列都是由相同的数据类型组成。

The Record object allows access to data-sets where the number of columns and/or the data type can be different from row to row. 
Record[记录]对象允许访问指定列数的数据,且/或行与行之间的数据类型也可以彼此不同。

Syntax
语法

objectname.property
objectname.method

Properties
属性

Property属性Description描述
ActiveConnectionSets or returns which Connection object a Record object belongs to
设置或返回一个Record[记录]对象所属的Connection[连接]对象
ModeSets or returns the permission for modifying data in a Record object
设置或返回对一个Record[记录]对象中的数据修改的权限
ParentURLReturns the absolute URL of the parent Record
返回父级记录的绝对URL
RecordTypeReturns the type of a Record object
返回一个Record[记录]对象的类型
SourceSets or returns the src parameter of the Open method of a Record object
设置或返回一个Record[记录]对象的Open方式中的src参数
StateReturns the status of a Record object
返回Record[记录]对象的状态

Methods
方法

Method方法Description描述
CancelCancels an execution of a CopyRecord, DeleteRecord, MoveRecord, or Open call
取消对CopyRecord、DeleteRecord、MoveRecord或Open的请求
CloseCloses a Record object
关闭一个Record[记录]对象
CopyRecordCopies a file or directory to another location
将一个文件或目录复制到其它的地址中
DeleteRecordDeletes a file or directory
删除一个文件或目录
GetChildrenReturns a Recordset object where each row represents the files in the directory
返回一个Recordset[记录集]对象。在该对象中,每一行都代表了目录中的文件
MoveRecordMoves a file or a directory to another location
将一个文件或一个目录移动到其它地址
OpenOpens an existing Record object or creates a new file or directory
打开一个现有的Record[记录]对象或创建一个新的文件或目录

Collections
集合

Collection集合Description描述
PropertiesA collection of provider-specific properties
指定一个技术提供者[provider]详细的属性集合
FieldsContains all the Field objects in the Record object
指定包含Record[记录]对象中所有的Field[字段]对象

The Fields Collection's Properties
字段集合属性

Property属性Description描述
CountReturns the number of items in the fields collection. Starts at zero.
返回字段集合中项的数量。以0为起始

Example:
案例

countfields = rec.Fields.Count

Item(named_item/number)Returns a specified item in the fields collection.
返回字段集合中一个指定的项

Example:
案例

itemfields = rec.Fields.Item(1)
or
itemfields = rec.Fields.Item("Name")


  
上一篇:ADO 属性
下一篇:ADO Recordset(数据集) 对象
最新文章
推荐文章
热门文章
版权所有:IT加油站   COPYRIGHT © 2007 WWW.FZS8.NET ALL RIGHTS RESERVED.
闽ICP备08008535号