$model = new Model;
$model->attributes = $_POST;
'db'=>array(
'class'=>'CDbConnection',
'connectionString' => 'odbc:DRIVER={Microsoft Access Driver (*.mdb)};Dbq=d:\\db.mdb;',
'username'=>'',
'password'=>'',
),
$res=Yii::app()->db->createCommand('select * from table');
$rows=$res->queryAll();
foreach($rows as $row) {
print_r($row);
}