示例#1
0
        public void GetHistorial(DataAlmacen Orden)
        {
            List <DataAlmacen> contacts = _LogicLayer.GetHistorialOrdenes(Orden);

            foreach (DataAlmacen contact in contacts.ToArray())
            {
                if (contact.Despachado == "No")
                {
                    contacts.Remove(contact);
                }
            }

            dataGridView1.DataSource         = contacts;
            dataGridView1.Columns[7].Visible = false;
        }