예제 #1
0
        private void CarregarLoteamentos()
        {
            DataTable dtLoteamentos = new DataTable();

            dtLoteamentos           = c_loteamento.CarregarLoteamentos();
            gridControl1.DataSource = dtLoteamentos;
            gridView1.RefreshData();
        }
예제 #2
0
 private void CarregarCbxLoteamentos()
 {
     cbxLoteamento.Properties.DataSource    = c_loteamento.CarregarLoteamentos();
     cbxLoteamento.Properties.DisplayMember = "nome";
     cbxLoteamento.Properties.ValueMember   = "idloteamento";
     if (_AlteraCad == false)
     {
         cbxLoteamento.ItemIndex = -1;
     }
 }