bajar cambios3

This commit is contained in:
carlos
2024-01-03 13:30:11 -06:00
parent 36859334e4
commit 3f37de0deb
4 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
{ {
"ExpandedNodes": [ "ExpandedNodes": [
"" "",
"\\database"
], ],
"SelectedNode": "\\.sln", "SelectedNode": "\\database\\DAO.cs",
"PreviewInSolutionExplorer": false "PreviewInSolutionExplorer": false
} }
Binary file not shown.
+1 -1
View File
@@ -184,7 +184,7 @@ namespace compabetov2.database
using (SQLiteCommand command = new SQLiteCommand(sql, conexion)) using (SQLiteCommand command = new SQLiteCommand(sql, conexion))
{ {
command.Parameters.AddWithValue("@nombre", producto.nombre); command.Parameters.AddWithValue("@nombre", producto.nombre);
command.Parameters.AddWithValue("@descripcion", producto.descripcion); command.Parameters.AddWithValue("@descripcion", producto.descripcion);
command.Parameters.AddWithValue("@precio", producto.precion); command.Parameters.AddWithValue("@precio", producto.precion);
command.Parameters.AddWithValue("@img", producto.img); command.Parameters.AddWithValue("@img", producto.img);
Binary file not shown.