예제 #1
0
        private void btnBuscar_Click(object sender, EventArgs e)
        {
            var conn   = new EnlaceCassandra();
            int cedula = int.Parse(textBoxBusCedula.Text);

            conn.GetOne(cedula, textBoxCedula, textBoxNombre, textBoxEsp, textBoxSueldo, textBoxFecha, textBoxEdad, checkBox1, checkBox2, checkBox3, checkBox4, checkBox5, checkBox6, checkBox7);
            textBoxCedula.Enabled = false;
        }
예제 #2
0
        private void btnID_Click(object sender, EventArgs e)
        {
            //int id = (int)cboEjemplo.SelectedValue;

            /*
             * var id = cboEjemplo.SelectedValue;
             * label1.Text = id.ToString();
             */

            var x = new EnlaceCassandra();

            x.GetOne();
        }