Esempio n. 1
0
    protected void ibtnAdd1_Click(object sender, ImageClickEventArgs e)
    {
        DoInsertEmp(ugrdEmpList, ugrdFixEmp);
        Biz_Com_Approval_Info bizComApp = new Biz_Com_Approval_Info();
        int objCount = GetEmpCount(ugrdEmpList);

        object[,] objAppEmp = new object[objCount, 2];
        objAppEmp           = GetInsertEmpList(ugrdFixEmp, objCount);

        if (bizComApp.InsertFixEmp(this.IBIZ_TYPE, objAppEmp, gUserInfo.Emp_Ref_ID))
        {
            MsgOnUP(UpdatePanel1, "추가하였습니다.");
        }
        else
        {
            DoDeleteEmp(ugrdFixEmp, objCount);
            MsgOnUP(UpdatePanel1, "실패하였습니다!\\n" + bizComApp.Transaction_Message);
        }
    }