public void CargaProductosGrid(string nombreProducto)
        {
            try
            {
                List <Entidades.Producto> productos = new List <Entidades.Producto>();
                productos = productoBLL.ObtenerProductos(nombreProducto);

                if (this.dgvProductos.RowCount > productos.Count)
                {
                    this.dgvProductos.Rows.Clear();
                }
                this.dgvProductos.RowCount = productos.Count;

                int i = 0;

                foreach (var producto in productos)
                {
                    this.dgvProductos.DefaultCellStyle.SelectionBackColor = Color.Silver;
                    this.dgvProductos.DefaultCellStyle.SelectionForeColor = Color.Black;
                    this.dgvProductos.SelectionMode = DataGridViewSelectionMode.CellSelect;
                    this.producto = null;
                    this.producto = producto;

                    this.dgvProductos[0, i].Value = this.producto.idProducto;
                    this.dgvProductos[1, i].Value = this.producto.codigo;
                    this.dgvProductos[2, i].Value = this.producto.nombreProducto;
                    this.dgvProductos[3, i].Value = this.producto.fechaAlta.ToShortDateString();
                    this.dgvProductos[4, i].Value = "$ " + this.producto.precio;
                    this.dgvProductos[5, i].Value = this.producto.cantidadExistencia;


                    if (agregarProductoMesa)
                    {
                        this.dgvProductos[6, i].Value       = 0;
                        dgvProductos.Columns[7].Visible     =
                            dgvProductos.Columns[8].Visible =
                                false;
                        dgvProductos.Columns[9].Visible = true;
                    }
                    else
                    {
                        dgvProductos.Columns[7].Visible     =
                            dgvProductos.Columns[8].Visible =
                                //dgvProductos.Columns[7].Visible =
                                true;
                        dgvProductos.Columns[6].Visible     =
                            dgvProductos.Columns[9].Visible = false;
                    }
                    i++;
                }
            }


            catch (Exception ex)
            {
                Utilidades.MuestraErrores(ex.Message);
            }
        }