Exemplo n.º 1
0
 public virtual void Fill()
 {
     this.PreFill();
     this.dssp_ip_detaljiDataSet1 = new sp_ip_detaljiDataSet();
     this.m_StartRow    = 0;
     this.Cursor        = Cursors.WaitCursor;
     this.m_GridLoading = true;
     ThreadPool.QueueUserWorkItem(new WaitCallback(this.FillDataThread), Thread.CurrentPrincipal);
 }
Exemplo n.º 2
0
 public virtual int Fill(sp_ip_detaljiDataSet dataSet)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.Fill(dataSet, this.fillDataParameters[0].Value.ToString());
     return(0);
 }
Exemplo n.º 3
0
 public virtual int FillPage(sp_ip_detaljiDataSet dataSet, int startRow, int maxRows)
 {
     if (this.fillDataParameters == null)
     {
         throw new ArgumentException();
     }
     this.FillPage(dataSet, this.fillDataParameters[0].Value.ToString(), startRow, maxRows);
     return(0);
 }
Exemplo n.º 4
0
 public virtual int Fill(DataSet dataSet)
 {
     this.sp_ip_detaljiSet = (sp_ip_detaljiDataSet)dataSet;
     if (this.sp_ip_detaljiSet != null)
     {
         return(this.Fill(this.sp_ip_detaljiSet));
     }
     this.sp_ip_detaljiSet = new sp_ip_detaljiDataSet();
     this.Fill(this.sp_ip_detaljiSet);
     dataSet.Merge(this.sp_ip_detaljiSet);
     return(0);
 }
Exemplo n.º 5
0
 public virtual int FillPage(DataSet dataSet, int startRow, int maxRows)
 {
     this.sp_ip_detaljiSet = (sp_ip_detaljiDataSet)dataSet;
     if (this.sp_ip_detaljiSet != null)
     {
         return(this.FillPage(this.sp_ip_detaljiSet, startRow, maxRows));
     }
     this.sp_ip_detaljiSet = new sp_ip_detaljiDataSet();
     this.FillPage(this.sp_ip_detaljiSet, startRow, maxRows);
     dataSet.Merge(this.sp_ip_detaljiSet);
     return(0);
 }
Exemplo n.º 6
0
 public virtual int FillPage(sp_ip_detaljiDataSet dataSet, string godina, int startRow, int maxRows)
 {
     this.Initialize();
     this.connDefault      = this.dsDefault.GetReadWriteConnection(this.daCurrentTransaction);
     this.sp_ip_detaljiSet = dataSet;
     this.rowsp_ip_detalji = this.sp_ip_detaljiSet.sp_ip_detalji.Newsp_ip_detaljiRow();
     this.SetFillParameters(godina);
     this.AV8godina = godina;
     try
     {
         this.executePrivate(startRow, maxRows);
     }
     finally
     {
         this.Cleanup();
     }
     return(0);
 }