bajar
This commit is contained in:
+3
-2
@@ -512,7 +512,8 @@ namespace compabetov2.database
|
||||
int cantidadIndex = reader.GetOrdinal("cantidad");
|
||||
int imgIndex = reader.GetOrdinal("img");
|
||||
int fkProductoIndex = reader.GetOrdinal("fk_producto");
|
||||
decimal precioCompra = reader.GetOrdinal("precioCompra");
|
||||
int precioCompraIndex = reader.GetOrdinal("precioCompra");
|
||||
|
||||
|
||||
while (reader.Read())
|
||||
{
|
||||
@@ -524,7 +525,7 @@ namespace compabetov2.database
|
||||
reader.GetInt32(cantidadIndex),
|
||||
reader.GetString(imgIndex),
|
||||
reader.GetInt32(fkProductoIndex),
|
||||
precioCompra
|
||||
reader.GetDecimal(precioCompraIndex)
|
||||
);
|
||||
|
||||
productos.Add(producto);
|
||||
|
||||
Reference in New Issue
Block a user