0
Hi Friend,
The below coding will help if you save the values in tostring()
string d;
d = dateTimePicker1.Value.ToShortDateString() + " 00:00:00".ToString();
string d1;
d1 = dateTimePicker2.Value.ToShortDateString() + " 23:59:59".ToString();
select command:
select * from today where date between''+d+"'and'"+d1+"'
With Regards,
Gomathi.P