| Concept Framework 2.2 documentation | Contents | Index |
| Name | Type | Access | Version | Deprecated |
| First | function | public | version 1.0 | no |
| public function First(); |
| Moves to the first row, if possible. |
var Connection=new ADOConnection();
var DataSet=new ADODataSet(Connection);
// Check the Open member of the ADOConnection for connection strings
Connection.Open(CONNECTION_STRING);
DataSet.CommandText="select * from sysobjects";
DataSet.ExecuteQuery();
// print all the ids in the sysobjects table.
if (DataSet.First()) {
do {
echo DataSet.FieldValues["id"].ToString()+"\n";
} while (DataSet.Next());
}
DataSet.CloseRead();
|
| Documented by Eduard Suica, generation time: Sun Jan 27 18:15:09 2013 GMT | (c)2013 Devronium Applications |