Exemple #1
0
    protected void btnProcess_Click(object sender, EventArgs e)
    {
        EmpLeaveBalance _dalEmpLeaveBalance = null;
        Hashtable       htParameters        = null;

        try
        {
            _dalEmpLeaveBalance = new EmpLeaveBalance();
            htParameters        = new Hashtable();

            htParameters["p_user_id"] = Session[SessionKey.CURRENT_USER_SESSION_KEY].ToString().Trim();
            Utility.ApplyDefaultProp(htParameters);
            _dalEmpLeaveBalance.TempBalanceUploadProcess(htParameters);
            BindGridUpload();

            Utility.ShowMessageBox(this, Utility.SAVE_DATA_SUCCESS_MESSAGE, null, null, null);
        }
        catch (Exception ex)
        {
            Utility.ShowMessageBox(this, Utility.SAVE_DATA_FAIL_MESSAGE, ex, null, null);
        }
    }