private void btnrefu_Click(object sender, EventArgs e) { conexion oper = new conexion(); dgbu.DataSource = oper.consultaconresul("select * from usuario"); }
private void button1_Click(object sender, EventArgs e) { conexion oper = new conexion(); dgbtp.DataSource = oper.consultaconresul("select * from tipo_persona"); }
private void btnrefe_Click(object sender, EventArgs e) { conexion oper = new conexion(); dgbcargo.DataSource = oper.consultaconresul("select * from empleado"); }