busqueda de productos lista

This commit is contained in:
carlos
2024-02-15 01:39:16 -06:00
parent ea999a41e8
commit dfbb52c78a
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -1566,7 +1566,7 @@ namespace compabetov2.database
conexion.Open();
string sql = "SELECT * FROM Producto WHERE nombre LIKE @nombre";
string sql = "SELECT * FROM variantes WHERE nombre LIKE @nombre";
SQLiteCommand command = new SQLiteCommand(sql, conexion);
command.Parameters.AddWithValue("@nombre", $"%{nombreProducto}%");
reader = command.ExecuteReader();