コード例 #1
0
ファイル: BSC0901M1.aspx.cs プロジェクト: schifflee/bscgit
    private void DoBindingUpdateReason()
    {
        string currentLine = "";

        foreach (UltraGridRow gr in ugrdAppLine.Rows)
        {
            currentLine += gr.Cells.FromKey("EMP_REF_ID").Value.ToString() + ";";
        }
        if (currentLine != this.IORIGINAL_LINE)
        {
            Biz_Com_Approval_Info objApp = new Biz_Com_Approval_Info();
            txtUPDATE_REASON.Text = objApp.GetLineUpdateReason(this.IApp_Ref_Id, this.IVersion_No).Rows[0]["UPDATE_REASON"].ToString();
            divReason.Style.Add("display", "block");
        }
    }
コード例 #2
0
ファイル: BSC0901M1.aspx.cs プロジェクト: schifflee/bscgit
    private void DoConfirmReasonBottom()
    {
        if (this.IDraft_Status == Biz_Type.app_draft_approval || this.IDraft_Status == Biz_Type.app_draft_select)
        {
            if (this.IHISTORY_YN == "Y")
            {
                string strReason = string.Empty;

                Biz_Com_Approval_Info bizAppInfo = new Biz_Com_Approval_Info();
                strReason = bizAppInfo.GetLineUpdateReason(this.IApp_Ref_Id, this.IVersion_No).Rows[0]["UPDATE_REASON"].ToString();

                if (strReason != "")
                {
                    txtUPDATE_REASON2.Text = strReason;
                }
                else
                {
                    th1.Style["width"]  = th2.Style["width"] = "90px";
                    td01.Style["width"] = td02.Style["width"] = "50%";
                    th3.Visible         = td03.Visible = false;
                }
            }
            else
            {
                th1.Style["width"]  = th2.Style["width"] = "90px";
                td01.Style["width"] = td02.Style["width"] = "50%";
                th3.Visible         = td03.Visible = false;
            }
        }
        else
        {
            th1.Style["width"]  = th2.Style["width"] = "90px";
            td01.Style["width"] = td02.Style["width"] = "50%";
            th3.Visible         = td03.Visible = false;
        }
    }