Beispiel #1
0
 void setData()
 {
     prototipo01.models.pensum Model = contraladorPensum.buscarPensum(reference);
     comboBox1.DataSource    = contraladorPensum.getCarreras();
     comboBox1.DisplayMember = "Name";
     comboBox1.ValueMember   = "id_carrera";
 }
Beispiel #2
0
        private void Pensum_Update_Load(object sender, EventArgs e)
        {
            prototipo01.models.pensum Model = contraladorPensum.buscarPensum(reference);

            textBox1.Text           = Model.id_pensum.ToString();
            comboBox1.DataSource    = contraladorPensum.getCarreras();
            comboBox1.DisplayMember = "Name";
            comboBox1.ValueMember   = "id_carrera";
            textBox2.Text           = Model.nombre.ToString();
            textBox1.Enabled        = false;
        }