TADOQuery方法

procedure Close; //关闭一个数据集,数据集必须关闭当与其关联的数据源的属性改变时。
procedure Open; 
// 打开记录集
procedure First; 
// Moves to the first record in the dataset.
procedure 
Next//Moves to the next record in the dataset.
function FieldByName(const FieldName: string): TField;//Finds a field based on its name.

TADOQuery属性

property Eof: Boolean//是否是记录集中的最后一条记录
property SQL: TStrings;//Contains the text of the SQL statement to execute for the ADO query.
posted on 2007-03-26 16:00  左左右右  阅读(2495)  评论(0)    收藏  举报