/// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btn_checkin_Click(object sender, EventArgs e)
        {
            string sst = (string)Session["st_exceptiondatagroupsync"];
            string set = (string)Session["et_exceptiondatagroupsync"];

            if ((sst == null) || (set == null))
            {
                Session["st_exceptiondatagroupsync"] = sd.Text;
                Session["et_exceptiondatagroupsync"] = ed.Text;
                sst = (string)Session["st_exceptiondatagroupsync"];
                set = (string)Session["et_exceptiondatagroupsync"];
            }

            try
            {
                ComparerEngine ce = new ComparerEngine();
                ce.InitEgls(DateTime.Parse(sst), DateTime.Parse(set), 1);
                ce.InitErmls(DateTime.Parse(sst), DateTime.Parse(set), 1);

                ce.MarkEgls();
                ce.MarkErmls();

                ce.CommitEgls();
                ce.CommitErmls();

                List<ReportParameter> rpl = new List<ReportParameter>();
                ReportParameter rpst = new ReportParameter("starttime", sst);
                rpl.Add(rpst);
                ReportParameter rpet = new ReportParameter("endtime", set);
                rpl.Add(rpet);
                ReportParameter rpcg = new ReportParameter("category", category.SelectedItem.Value);
                rpl.Add(rpcg);
                ReportViewer1.ServerReport.SetParameters(rpl);
            }
            catch(Exception ex)
            {

            }
        }