Dear Sir
I am currently working on Employee Attendance.And i have used 2 date time picker,
In datagridview i m searching by EmployeeName.
1 for from date and another for to date,so in that if i am selecting the previous date and current date(for example 25 may to 26 may 2014)
then its displaying all the records in the datagridview of a particular Emplopyee.
I m using the following code:
date_searchfrom.Text = DateTime.Now.ToString();date_searchto.Text = DateTime.Now.ToString();