version 1.0
This commit is contained in:
+1
-1
@@ -1173,7 +1173,7 @@ namespace compabetov2.database
|
||||
|
||||
conexion.Open();
|
||||
|
||||
string sql = "SELECT * FROM envio WHERE fecha LIKE @fecha";
|
||||
string sql = "SELECT * FROM envios WHERE fecha LIKE @fecha and estado = 'CONCLUIDO'";
|
||||
SQLiteCommand command = new SQLiteCommand(sql, conexion);
|
||||
command.Parameters.AddWithValue("@fecha", $"%{fecha.Month}/{fecha.Year}%");
|
||||
reader = command.ExecuteReader();
|
||||
|
||||
Reference in New Issue
Block a user