Пример #1
0
 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;
 }
Пример #2
0
 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;
 }
Пример #3
0
 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;
 }
Пример #4
0
 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;
 }
Пример #5
0
 private void clearAll()
 {
     DS.Clear();
 }
Пример #6
0
 private void aggiornaDataGrid()
 {
     DS.Clear();
     riempiGrid();
 }