Exemple #1
0
        protected void GvComandos(object sender, GridViewCommandEventArgs e)
        {
            int Id = int.Parse(GvHistorial.Rows[Convert.ToInt32(e.CommandArgument)].Cells[0].Text);



            if (e.CommandName == "PrcCalificar")
            {
                int id = int.Parse(GvHistorial.Rows[Convert.ToInt32(e.CommandArgument)].Cells[0].Text);
                ListarServicioCliResult Pas = BANUsuario.ServicioFinCli(id);


                Session["SerIdSer"]  = Pas.Idservicio;
                Session["SerFecSer"] = Pas.fecha_se.ToString();
                Session["SerIdCli"]  = Pas.se_idusuario.ToString();
                Session["SerDetCli"] = Pas.detalles_se.ToString();
                Session["SerIdPas"]  = Pas.pa_serv;
                Session["SerHI"]     = Pas.HoraIni;
                Session["SerPasHF"]  = Pas.HoraFin;
                Session["SerComPas"] = Pas.ComentarioPaseador;

                Response.Redirect("FinalizarServicio.aspx");
            }
        }
Exemple #2
0
 public void Variables(int IdServicio)
 {
     UsuarioFin.ServicioFinCli(IdServicio);
 }