Beispiel #1
0
        public FormClientesEDIT()
        {
            InitializeComponent();
            GRID_Clientes.DataSource = null;

            List <ClienteDTO> LISTA = ClassBLL.BuscarClientes();

            GRID_Clientes.Rows.Clear();

            foreach (var FORpass in LISTA)
            {
                string[] linhaContato = { FORpass.IDCliente1.ToString(), FORpass.NomeCLiente1, FORpass.ContatoCliente1, FORpass.EnderecoCliente1, FORpass.CepCliente1, FORpass.NumeroCliente1, FORpass.ComplementoCliente1 };
                GRID_Clientes.Rows.Add(linhaContato);
            }
        }