public void PaymentDetail_Delete(PaymentDetail pd)
 {
     xl.table_Command("DELETE FROM PaymentDetails WHERE PaymentDetailId = '" + pd.PaymentDetailId + "'");
 }
 public void PaymentDetail_Update(PaymentDetail pd)
 {
     // to be coded...
 }
 public DataTable PaymentDetail_SelectAll(PaymentDetail pd)
 {
     return(xl.table_Select("SELECT * FROM PaymentDetails"));
 }