my sql datbase base in this format--
id of employee,, name of employee,, daily date,, and status= absent or present or weekly off(wo)
---------------------------------------------------------
id employee_name date status
1 puja 12/09/2010 A
1 puja 13/09/2010 A
1 puja 14/09/2010 wo
1 puja 15/09/2010 P
2 poonam 12/09/2010 P
2 poonam 13/09/2010 P
2 poonam 14/09/2010 wo
2 poonam 15/09/2010 A
and so on
--------------------------------------------------------
and in vb form two dtpicker to select date in between i want to check report
now i want to creat excel file in this format
suppose i select data 12/09/2010 to `14/09/2010 now wnt too see all records in between this date
in this format
--------------------------------------------------------
id employee_name 12/09 13/09 14/09
1 puja A A wo
2 poonam P P wo
-------------------------------------------------------
plz help