예제 #1
0
 private void cargaCombo()
 {
     {
         ServicioGeneralClient servicioGeneral = new ServicioGeneralClient();
         var withBlock = cboPerfil;
         withBlock.DataSource    = servicioGeneral.getPerfiles(1, 0);
         withBlock.ValueMember   = "CODIGO";
         withBlock.DisplayMember = "NOMBRE";
         withBlock.SelectedValue = 0;
     }
 }
예제 #2
0
        private void llenaGrilla()
        {
            ServicioGeneralClient servicioGeneral = new ServicioGeneralClient();

            dtgPerfiles.DataSource = servicioGeneral.getPerfiles(2, 0);
        }