Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var listProductoPrecio =
- _saProductoPrecio.ListaProductoPrecio(Convert.ToInt32(txtListaPrecioId.Text)).ToList();
- foreach (var item in listProductoPrecio)
- {
- DataGridViewRow row = new DataGridViewRow();
- row.CreateCells(dgvProductoPrecio);
- row.Cells["colProductoPrecioId"].Value = item.ProductoPrecioId;
- row.Cells["colListaPrecioId"].Value = item.ListaPrecioId;
- row.Cells["colProductoId"].Value = item.ProductoId;
- row.Cells["colProducto"].Value = item.NombreProducto;
- row.Cells["colTipoPrecioId"].Value = item.TipoPrecioId;
- row.Cells["colProductoPrecio"].Value = item.NombreTipoPrecio;
- row.Cells["colCantidad"].Value = item.Cantidad;
- row.Cells["colPrecioCompra"].Value = item.PrecioCompra;
- row.Cells["colUtilidad"].Value = item.Utilidad;
- row.Cells["colPvp"].Value = item.Pvp;
- dgvProductoPrecio.Rows.Add(row);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement