示例#1
0
        /// <summary>
        /// 保存数据
        /// </summary>
        private void SaveData()
        {
            if (!string.IsNullOrEmpty(this.txtGA03002.Text))
            {
                string strid = _AreaBLL.CreateSystemAreaCityId(this.drpProvince.SelectedValue);  //获取ID

                SystemArea _SystemArea = new SystemArea();
                _SystemArea.GA03001 = strid;
                _SystemArea.GA03002 = this.txtGA03002.Text.Trim();
                _SystemArea.GA03003 = this.drpProvince.SelectedValue;
                _SystemArea.GA03004 = this.txtGA03004.Text.Trim();
                int num = Math.Abs(_AreaBLL.InsertSystemArea(_SystemArea));
                new Sinoo.Common.MessageShow().InsertMessage(this, num, "DataClear()");
            }
        }