diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json index 249c658..3abd2f2 100644 --- a/.vs/VSWorkspaceState.json +++ b/.vs/VSWorkspaceState.json @@ -1,7 +1,8 @@ { "ExpandedNodes": [ - "" + "", + "\\database" ], - "SelectedNode": "\\.sln", + "SelectedNode": "\\database\\DAO.cs", "PreviewInSolutionExplorer": false } \ No newline at end of file diff --git a/.vs/compabetoOG/v17/.wsuo b/.vs/compabetoOG/v17/.wsuo index 079dccf..80f2ed6 100644 Binary files a/.vs/compabetoOG/v17/.wsuo and b/.vs/compabetoOG/v17/.wsuo differ diff --git a/database/DAO.cs b/database/DAO.cs index f0dae2e..79603b9 100644 --- a/database/DAO.cs +++ b/database/DAO.cs @@ -184,7 +184,7 @@ namespace compabetov2.database 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("@precio", producto.precion); command.Parameters.AddWithValue("@img", producto.img); diff --git a/obj/Debug/compabetov2.csproj.AssemblyReference.cache b/obj/Debug/compabetov2.csproj.AssemblyReference.cache index ba5393c..34a66a5 100644 Binary files a/obj/Debug/compabetov2.csproj.AssemblyReference.cache and b/obj/Debug/compabetov2.csproj.AssemblyReference.cache differ