Beispiel #1
0
 public frmFDRPayment()
 {
     InitializeComponent();
     dtpReceiptDate.DateTime = DateTime.Today;
     dsExpenses = new PaymentDataset();
     InitializaDataset();
 }
 private void InitializeDatset()
 {
     dsMembers  = new MemberDataset();
     dsCashBook = new PaymentDataset();
     dsMembers.FDRMemberLookup.Clear();
     dsMembers.FDRMemberLookup.Merge(DataHelper.GetTableData(dsMembers.FDRMemberLookup).Tables[0]);
     cmbFDR.Properties.DataSource = dsMembers.FDRMemberLookup.Copy();
 }
        private void InitializaDataset()
        {
            dsPayment = new PaymentDataset();
            dsMember  = new MemberDataset();
            dtpReceiptDate.DateTime = DateTime.Now;

            dsMember.MembersPolicyLookup.Clear();
            dsMember.MembersPolicyLookup.Merge(DataHelper.GetTableData(dsMember.MembersPolicyLookup).Tables[0]);
            cmbPolicy.Properties.DataSource = dsMember.MembersPolicyLookup.Copy();
        }