its load the data but is will start only on 10 (11/10/2013) to..and also it will give me double entry..
cnn.cmdOpen(cmdForm);
cmdForm.CommandText = " SELECT attendance.work,attendance.in_, attendance.out_,attendance.weekday,"
+ "attendance.date,employee.Empname,employee.Empno"
+ " FROM employee LEFT JOIN attendance ON employee.biomitricno = attendance.badgeno WHERE date BETWEEN '" + DtFrom.Value.ToString() + "' AND '" + DtTo.Value.ToString() + "';";
MySqlDataAdapter da = new MySqlDataAdapter();
da.SelectCommand = cmdForm;
DataTable dtble = new DataTable();
da.Fill(dtble);
BindingSource bSource = new BindingSource();
bSource.DataSource = dtble;
dgVMonthly.DataSource = bSource;
cmdForm.Dispose();
cnn.cn.Close();
anyone can help