Пример #1
0
 private void btnUpLoadReport_Click(object sender, EventArgs e)
 {
     try
     {
         if (mReportArgs.ReportTemplateID > 0)
         {
             ReportHelper.OpenReportDesign(mReportArgs);
         }
     }
     catch (Exception ex)
     {
         LB.WinFunction.LBCommonHelper.DealWithErrorMessage(ex);
     }
 }
Пример #2
0
 private void btnDesignerReport_Click(object sender, EventArgs e)
 {
     try
     {
         if (this.grdMain.SelectedRows.Count > 0)
         {
             long lReportTemplateID = Convert.ToInt64(this.grdMain.SelectedRows[0].Cells["ReportTemplateID"].Value);
             mReportArgs.ReportTemplateID = lReportTemplateID;
             ReportHelper.OpenReportDesign(mReportArgs);
         }
         else
         {
             throw new Exception("请选择需要编辑的数据行!");
         }
     }
     catch (Exception ex)
     {
         LB.WinFunction.LBCommonHelper.DealWithErrorMessage(ex);
     }
 }