Ejemplo n.º 1
0
 public virtual int FillPage(sp_VIRMANIDataSet dataSet, string iDOBRACUN, string zaduzenje, string poreziprirezodvojeno, string pl1, string pl2, string pl3, string vbd, string zrn, string mb, string dd, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault   = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.sp_VIRMANISet = dataSet;
     this.rowsp_VIRMANI = this.sp_VIRMANISet.sp_VIRMANI.Newsp_VIRMANIRow();
     this.SetFillParameters(iDOBRACUN, zaduzenje, poreziprirezodvojeno, pl1, pl2, pl3, vbd, zrn, mb, dd);
     this.AV8IDOBRAC = iDOBRACUN;
     this.AV9zaduzen = zaduzenje;
     this.AV10porezi = poreziprirezodvojeno;
     this.AV11pl1    = pl1;
     this.AV12pl2    = pl2;
     this.AV13pl3    = pl3;
     this.AV14vbd    = vbd;
     this.AV15zrn    = zrn;
     this.AV16mb     = mb;
     this.AV17dd     = dd;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }
Ejemplo n.º 2
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dssp_VIRMANIDataSet1 = new sp_VIRMANIDataSet();
     this.m_StartRow           = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
Ejemplo n.º 3
0
 public virtual int FillPage(sp_VIRMANIDataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), this.fillDataParameters[1].Value.ToString(), this.fillDataParameters[2].Value.ToString(), this.fillDataParameters[3].Value.ToString(), this.fillDataParameters[4].Value.ToString(), this.fillDataParameters[5].Value.ToString(), this.fillDataParameters[6].Value.ToString(), this.fillDataParameters[7].Value.ToString(), this.fillDataParameters[8].Value.ToString(), this.fillDataParameters[9].Value.ToString(), startRow, maxRows);
     return(0);
 }
Ejemplo n.º 4
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.sp_VIRMANISet = (sp_VIRMANIDataSet)dataSet;
     if (this.sp_VIRMANISet != null)
     {
         return(this.FillPage(this.sp_VIRMANISet, startRow, maxRows));
     }
     this.sp_VIRMANISet = new sp_VIRMANIDataSet();
     this.FillPage(this.sp_VIRMANISet, startRow, maxRows);
     dataSet.Merge(this.sp_VIRMANISet);
     return(0);
 }
Ejemplo n.º 5
0
 public virtual int Fill(DataSet dataSet)
 {
     this.sp_VIRMANISet = (sp_VIRMANIDataSet)dataSet;
     if (this.sp_VIRMANISet != null)
     {
         return(this.Fill(this.sp_VIRMANISet));
     }
     this.sp_VIRMANISet = new sp_VIRMANIDataSet();
     this.Fill(this.sp_VIRMANISet);
     dataSet.Merge(this.sp_VIRMANISet);
     return(0);
 }