Example #1
0
 private void SaveData()
 {
     this.gridView1.PostEditor();
     _viewtable.DisplayTitle          = this.TE_DISPLAY.EditValue.ToString();
     _viewtable.DisplayOrder          = int.Parse(this.TE_ORDER.EditValue.ToString());
     _viewtable.RelationString        = this.TE_RELATION.EditValue.ToString();
     _viewtable.ViewTableRelationType = (this.TE_TYPE.SelectedIndex == 0) ? MDType_ViewTableRelation.SingleChildRecord : MDType_ViewTableRelation.MultiChildRecord;
     _viewtable.DisplayType           = (this.TE_DISPLAYTYPE.SelectedIndex == 0) ? MDType_DisplayType.GridType : MDType_DisplayType.FormType;
     _viewtable.IntegratedApp         = this.te_IntegradApp.EditValue.ToString();
     using (MetaDataServiceClient _mdc = new MetaDataServiceClient())
     {
         _mdc.SaveViewChildTable(_viewtable);
         this._haveChange = false;
         RaiseDataChanged();
     }
 }