string sql = "select * from tblVehicle where CAST(floor( CAST( Vehentrytime AS FLOAT ) )AS DATETIME) = '?'";
DateTime
string sql = "select * from tblVehicle where CAST(floor( CAST( Vehentrytime AS FLOAT ) )AS DATETIME) = 'yyyy-mm-dd'";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)