Subo cambios

This commit is contained in:
Michael Robles
2024-06-30 08:33:24 -07:00
parent bd5573527d
commit 13f578865b
28 changed files with 144 additions and 26 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))