public virtual int Fill(DS.CombinaisonPrDataTable dataTable, string DesignF) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((DesignF == null)) { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.SelectCommand.Parameters[1].Value = ((string)(DesignF)); } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int Fill(DS.DesignActDataTable dataTable, string design) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((design == null)) { throw new global::System.ArgumentNullException("design"); } else { this.Adapter.SelectCommand.Parameters[0].Value = ((string)(design)); } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int Fill(DS.CombinaisonDataTable dataTable, global::System.Nullable<int> codefait) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((codefait.HasValue == true)) { this.Adapter.SelectCommand.Parameters[0].Value = ((int)(codefait.Value)); } else { this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
public virtual int Fill(DS.FaitDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; }
private void clearAll() { DS.Clear(); }
private void aggiornaDataGrid() { DS.Clear(); riempiGrid(); }