SyntaxFix
Write A Post
Hire A Developer
Questions
the best way is this code
"select * from [table_1] where date between convert(date,'" + dateTimePicker1.Text + "',105) and convert(date,'" + dateTimePicker2.Text + "',105)"