bajar cambios

This commit is contained in:
Carlos Sandoval
2024-06-30 08:28:35 -06:00
parent f04058a7e0
commit dcd64c9880
16 changed files with 6 additions and 8 deletions
-4
View File
@@ -466,10 +466,6 @@ namespace compabetov2.database
string sql = "INSERT INTO Producto (nombre, descripcion, precio,img, stock, fk_idcategoria) " +
"VALUES (@nombre, @descripcion, @precio,@img , @stock, @idcategoria)";
if (!producto.img.Equals(""))
{
producto.img = guardarImg(producto.img);
}
using (SQLiteCommand command = new SQLiteCommand(sql, conexion))