public ActionResult SchedulSignIn(string MainId)
        {
            List <SchedulPrint> SchedulData  = new List <SchedulPrint>();
            DataSet             _SchedulData = new DataSet();

            if (_ISchedulCon.ConInit(out str_msg) && _ISchedulCon.SelSchedulWithMainId(out str_msg, ref _SchedulData, MainId))
            {
                DataTable _SchedulTable   = _SchedulData.Tables[0];
                string    str_GroupId     = _SchedulTable.Rows[0]["Groupid"] + "";
                string    str_SchedulDate = _SchedulTable.Rows[0]["SchedulDate"] + "";
                string    str_SchedulTime = _SchedulTable.Rows[0]["SchedulTime"] + "";
                string    str_Teamid      = _SchedulTable.Rows[0]["Teamid"] + "";
                _SchedulData = new DataSet();
                _ISchedulCon.SelMaxSchedulSeq(out str_msg, out _SchedulData, new string[] { str_Teamid, str_SchedulDate, str_SchedulTime });
                int             int_maxseq      = Int32.Parse("0" + _SchedulData.Tables[0].Rows[0][0]);
                string          SchedulDateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss", DateTimeFormatInfo.InvariantInfo);
                List <string[]> arr2_value      = new List <string[]> {
                    new string[] { SchedulDateTime.ConvertSqlCondition(), (int_maxseq + 1).ToString() }
                };
                if (_ISchedulCon.UpdateSchedulSigninDate(out str_msg, arr2_value, new string[] { MainId }))
                {
                    SchedulData = _GetData.GetSchedulPrint(out str_msg, str_GroupId, str_SchedulDate, str_SchedulTime);
                }
            }
            ViewBag.SchedulDate = SchedulData;
            return(PartialView("/Views/Schedul/SchedulSignInDetail.cshtml"));
        }