void cmdSave_ServerClick(object sender, EventArgs e)
 {
     _facade = new ReportViewFacade(this.DataProvider);
     this.DataProvider.BeginTransaction();
     try
     {
         if (this.hidHeaderRow.Value != "")
         {
             RptViewDataFormat format = _facade.BuildDataFormatByStyle(this.hidHeaderRow.Value);
             format.MaintainUser = this.GetUserCode();
             _facade.UpdateRptViewReportStyleDetail(decimal.Parse(this.GetRequestParam("styleid")), ReportStyleType.Header, format);
         }
         if (this.hidGroup_0.Value != "")
         {
             RptViewDataFormat format = _facade.BuildDataFormatByStyle(this.hidGroup_0.Value);
             format.MaintainUser = this.GetUserCode();
             _facade.UpdateRptViewReportStyleDetail(decimal.Parse(this.GetRequestParam("styleid")), ReportStyleType.SubTotal, format);
         }
         if (this.hidItemHeader.Value != "")
         {
             RptViewDataFormat format = _facade.BuildDataFormatByStyle(this.hidItemHeader.Value);
             format.MaintainUser = this.GetUserCode();
             _facade.UpdateRptViewReportStyleDetail(decimal.Parse(this.GetRequestParam("styleid")), ReportStyleType.Item, format);
         }
         if (this.hidGroupData_0_0.Value != "")
         {
             RptViewDataFormat format = _facade.BuildDataFormatByStyle(this.hidGroupData_0_0.Value);
             format.MaintainUser = this.GetUserCode();
             _facade.UpdateRptViewReportStyleDetail(decimal.Parse(this.GetRequestParam("styleid")), ReportStyleType.SubTotalGroupField, format);
         }
         if (this.hidGroupData_0_1.Value != "")
         {
             RptViewDataFormat format = _facade.BuildDataFormatByStyle(this.hidGroupData_0_1.Value);
             format.MaintainUser = this.GetUserCode();
             _facade.UpdateRptViewReportStyleDetail(decimal.Parse(this.GetRequestParam("styleid")), ReportStyleType.SubTotalNonCalField, format);
         }
         if (this.hidGroupData_0_2.Value != "")
         {
             RptViewDataFormat format = _facade.BuildDataFormatByStyle(this.hidGroupData_0_2.Value);
             format.MaintainUser = this.GetUserCode();
             _facade.UpdateRptViewReportStyleDetail(decimal.Parse(this.GetRequestParam("styleid")), ReportStyleType.SubTotalCalField, format);
         }
         this.DataProvider.CommitTransaction();
     }
     catch (Exception ex)
     {
         this.DataProvider.RollbackTransaction();
         throw ex;
     }
     finally
     {
     }
 }