private void GetData(string CompID, string EmpID)
    {
        var isSuccess = false;
        var msg       = "";
        var datas     = new List <QueryListBean>();
        var viewData  = new EmpWorkTimeModel()
        {
            CompID = CompID,
            EmpID  = EmpID
        };

        isSuccess = WorkTime.LoadEmpWorkTimeLogGridData(viewData, out datas, out msg);
        if (msg != "")
        {
            Util.MsgBox(msg);
            gvMain.DataSource = null;
            gvMain.DataBind();
            return;
        }
        if (isSuccess && datas != null)
        {
            gvMain.DataSource = datas;
            gvMain.DataBind();
        }
    }