예제 #1
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dssp_RSOBRAZACDataSet1 = new sp_RSOBRAZACDataSet();
     this.m_StartRow             = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
예제 #2
0
 public virtual int Fill(sp_RSOBRAZACDataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, this.fillDataParameters[0].Value.ToString(), short.Parse(this.fillDataParameters[1].Value.ToString()));
     return(0);
 }
예제 #3
0
 public virtual int FillPage(sp_RSOBRAZACDataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), short.Parse(this.fillDataParameters[1].Value.ToString()), startRow, maxRows);
     return(0);
 }
예제 #4
0
 public virtual int Fill(DataSet dataSet)
 {
     this.sp_RSOBRAZACSet = (sp_RSOBRAZACDataSet)dataSet;
     if (this.sp_RSOBRAZACSet != null)
     {
         return(this.Fill(this.sp_RSOBRAZACSet));
     }
     this.sp_RSOBRAZACSet = new sp_RSOBRAZACDataSet();
     this.Fill(this.sp_RSOBRAZACSet);
     dataSet.Merge(this.sp_RSOBRAZACSet);
     return(0);
 }
예제 #5
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.sp_RSOBRAZACSet = (sp_RSOBRAZACDataSet)dataSet;
     if (this.sp_RSOBRAZACSet != null)
     {
         return(this.FillPage(this.sp_RSOBRAZACSet, startRow, maxRows));
     }
     this.sp_RSOBRAZACSet = new sp_RSOBRAZACDataSet();
     this.FillPage(this.sp_RSOBRAZACSet, startRow, maxRows);
     dataSet.Merge(this.sp_RSOBRAZACSet);
     return(0);
 }
예제 #6
0
 public virtual int FillPage(sp_RSOBRAZACDataSet dataSet, string iDOBRACUN, short dd, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault     = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.sp_RSOBRAZACSet = dataSet;
     this.rowsp_RSOBRAZAC = this.sp_RSOBRAZACSet.sp_RSOBRAZAC.Newsp_RSOBRAZACRow();
     this.SetFillParameters(iDOBRACUN, dd);
     this.AV8IDOBRAC = iDOBRACUN;
     this.AV9dd      = dd;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }