Example #1
0
        protected void btnSaveSystemUserGroup_Click(object sender, DirectEventArgs e)
        {
            try
            {
                SystemUserGroupWrapper obj = new SystemUserGroupWrapper();
                obj.GroupNameCn      = this.txtGroupNameCn.Text.Trim();
                obj.GroupNameEn      = this.txtGroupNameEn.Text.Trim();
                obj.GroupDescription = this.txtGroupDescription.Text.Trim();


                SystemUserGroupWrapper.Save(obj);

                winSystemUserGroupAdd.Hide();
            }
            catch (Exception ex)
            {
                ResourceManager.AjaxSuccess      = false;
                ResourceManager.AjaxErrorMessage = "错误信息:" + ex.Message;
            }
        }