Ejemplo n.º 1
0
 public virtual DatabaseSet.員工DataTable GetBy產線(string 產線) {
     this.Adapter.SelectCommand = this.CommandCollection[1];
     if ((產線 == null)) {
         this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
     }
     else {
         this.Adapter.SelectCommand.Parameters[0].Value = ((string)(產線));
     }
     DatabaseSet.員工DataTable dataTable = new DatabaseSet.員工DataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }
Ejemplo n.º 2
0
 public virtual DatabaseSet.員工DataTable GetData() {
     this.Adapter.SelectCommand = this.CommandCollection[0];
     DatabaseSet.員工DataTable dataTable = new DatabaseSet.員工DataTable();
     this.Adapter.Fill(dataTable);
     return dataTable;
 }