im doing an employee attendance monitoring system, and i need to have a search feature which shows an employee attendance record in a given range of dates

example

date1: feb 14, 2011 date2: mar 1, 2011

results must be:

feb 14: login time logout time
feb 15: login time logout time
feb 16: login time logout time
feb 17: login time logout time
feb 18: login time logout time
(and so on to..)
mar 01: login time logout time


thanks for your response!

So from where you like to search from database or from datagrid I think from database if is it, then whats your problem if problem is date then refer to this thread it may solve your problem it may solve your problem if not feel free to ak