예제 #1
0
 private void llenar_combo()
 {
     this.cbcarrera.DataSource    = LCarrera.mostrar();
     this.cbcarrera.DisplayMember = "idcarrera";
     this.cbcarrera.ValueMember   = "idcarrera";
 }
        // Método mostrar

        private void Mostrar()
        {
            this.dataListado.DataSource = LCarrera.mostrar();
            this.OcultarColumnas();
            lblTotal.Text = "Total de Registros : " + Convert.ToString(dataListado.Rows.Count);
        }