示例#1
0
        protected void Button1_Click1(object sender, EventArgs e)
        {
            Panel1.Visible  = true;
            Button1.Visible = false;
            //string inspID = bd.inspectHead(Request.QueryString["formatID"], ddl_area.SelectedValue,
            //    txt_numEmpleados.Text, "2016-02-23", rbl_recorrido.SelectedValue, Session[""], ConnectionString);
            //ddl_supervisor
            string inspID = bd.inspectHead(Request.QueryString["formatID"], ddl_area.SelectedValue, ddl_areaF.SelectedValue,
                                           txt_numEmpleados.Text, DateTime.Now.ToString("dd-MM-yyyy HH:mm:ss"), rbl_recorrido.SelectedValue, Convert.ToString(Session["userName"]), Request.QueryString["pID"], ddl_supervisor.SelectedValue, ConnectionString);

            lbl_inicio.Text      = DateTime.Now.ToString("HH:mm:ss");
            Session["inspectID"] = inspID;
            btn_end.Visible      = true;
        }