protected void btnSave_Click(object sender, System.EventArgs e)
        {
            string strName;
            bool   blnActive;

            BusinessServices.Unit objUnit;

            //1. Get Unit Details
            strName   = this.txtName.Text;
            blnActive = (this.cboStatus.SelectedIndex == 0);

            DateTime dteOriginalDateUpdated = DateTime.Parse(this.OriginalDateUpdated);

            //2. Save Details
            objUnit = new BusinessServices.Unit();

            try
            {
                objUnit.Update(this.m_intUnitID, strName, blnActive, UserContext.UserID, dteOriginalDateUpdated, UserContext.UserData.OrgID);

                //3. Reload the unit's details
                //This will reset the updated date time for integrity checking
                this.GetDetails();
                this.lblMessage.Text     = ResourceManager.GetString("btnSave_Click");            //"The Unit's Details have been updated successfully";
                this.lblMessage.CssClass = "SuccessMessage";
            }
            catch (IntegrityViolationException ex)
            {
                this.lblMessage.Text     = ex.Message.Replace("[Url]", "UnitDetails.aspx?UnitID=" + this.m_intUnitID.ToString());
                this.lblMessage.CssClass = "WarningMessage";
            }
            catch (BusinessServiceException ex)
            {
                this.lblMessage.Text     = ex.Message;
                this.lblMessage.CssClass = "WarningMessage";
            }
        }