for(int i=0;i<tasks.length;i++) {
row++;
task=tasks[i];
try{
qry.setAt("type", row, task.getType());
qry.setAt("name", row, task.subject());
qry.setAt("detail", row, task.detail());
qry.setAt("id", row, task.getId());
qry.setAt("lastExecution", row,new DateTimeImpl(pageContext,task.lastExecution(),true));