Ejemplo n.º 1
0
        private void LoadCustomer()
        {
            List <Customer_DTO> loadCustomer = Customer_BUS.LoadCustomerList();

            cmbCustomerName.DataSource    = loadCustomer;
            cmbCustomerName.ValueMember   = "CustomerID";
            cmbCustomerName.DisplayMember = "CustomerName";
            txtCustomerID.Text            = cmbCustomerName.SelectedValue.ToString();
        }
Ejemplo n.º 2
0
        public void LoadCustomer()
        {
            List <Customer_DTO> customerList = Customer_BUS.LoadCustomerList();

            dtgvCustomersListOfStore.DataSource = customerList;
        }