示例#1
0
        private void button7_Click(object sender, EventArgs e)
        {
            ActualizarEnvio update = new ActualizarEnvio();
            int             cod    = int.Parse(txt_ClienteCod.Text);
            int             cod1   = int.Parse(txt_EnviarCod2.Text);

            update.ex3(cod, cod1);
        }
示例#2
0
        private void bt_actualizar_Click(object sender, EventArgs e)
        {
            ActualizarEnvio update = new ActualizarEnvio();
            int             cod    = int.Parse(txt_CodEnvio.Text);
            float           costo  = float.Parse(txt_EnvioCosto.Text);
            string          dire   = "" + txtEstado.Text + ", " + txtMunicipio.Text + ", " + txtLocalidad.Text + ", " + txtdatosextra.Text;

            update.ex1(cod, dire, costo);
        }
示例#3
0
        private void button4_Click(object sender, EventArgs e)
        {
            ActualizarEnvio update = new ActualizarEnvio();
            int             numras = int.Parse(txt_NumRastre.Text);
            int             cod    = int.Parse(txt_CodEnvio1.Text);
            string          fecha1 = "" + txt_ano.Text + "-" + txt_mes.Text + "-" + txt_dia.Text + " " + txt_hora.Text + ":" + txt_min.Text + ":" + txt_seg.Text;
            string          fecha2 = "" + txt_ano1.Text + "-" + txt_mes1.Text + "-" + txt_dia1.Text + " " + txt_hora1.Text + ":" + txt_min1.Text + ":" + txt_seg1.Text;

            update.ex2(numras, cod, fecha1, fecha2);
        }