bajar cambios3
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"ExpandedNodes": [
|
"ExpandedNodes": [
|
||||||
""
|
"",
|
||||||
|
"\\database"
|
||||||
],
|
],
|
||||||
"SelectedNode": "\\.sln",
|
"SelectedNode": "\\database\\DAO.cs",
|
||||||
"PreviewInSolutionExplorer": false
|
"PreviewInSolutionExplorer": false
|
||||||
}
|
}
|
||||||
Binary file not shown.
+1
-1
@@ -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.
Reference in New Issue
Block a user