30-12-2012, 10:51 AM
اخي جرب هذا الامر:
SQL.Text :='SELECT * FROM produit where date_entree >= ''' + FormatDatTime('mm/dd/yyyy',DateTimePicker1.date) +''' and date_entree <=''' + FormatDateTime('mm/dd/yyyy',DateTimePicker2.Date) +'''';
بالتوفيق
SQL.Text :='SELECT * FROM produit where date_entree >= ''' + FormatDatTime('mm/dd/yyyy',DateTimePicker1.date) +''' and date_entree <=''' + FormatDateTime('mm/dd/yyyy',DateTimePicker2.Date) +'''';
بالتوفيق

