Mam this is the code used

select Date, Time, LITHO1_M1" +
" from AVG_I" +
$" where '{dtpstarttime.Value}' >= '+50' and '+50' <= '{dtpendtime.Value}' and Date between '{dtpstartdate.Value}' and '{dtpenddate.Value}'";

please help me