示例#1
0
        public List <DataTable> MultipleAccountLedgerComboFill()
        {
            List <DataTable> ListObj = new List <DataTable>();

            try
            {
                ListObj = spAccountLedger.MultipleAccountLedgerComboFill();
            }
            catch (Exception ex)
            {
                MessageBox.Show("AL24:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(ListObj);
        }
示例#2
0
 /// <summary>
 /// account group combo fill function
 /// </summary>
 public void cmbComboFill()
 {
     try
     {
         AccountLedgerSP spAccountLedger   = new AccountLedgerSP();
         DataTable       dtblAccountLedger = new DataTable();
         dtblAccountLedger             = spAccountLedger.MultipleAccountLedgerComboFill();
         cmbAccountGroup.DataSource    = dtblAccountLedger;
         cmbAccountGroup.ValueMember   = "accountGroupId";
         cmbAccountGroup.DisplayMember = "accountGroupName";
     }
     catch (Exception ex)
     {
         MessageBox.Show("MAL1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
示例#3
0
 /// <summary>
 /// account group combo fill function
 /// </summary>
 public void cmbComboFill()
 {
     try
     {
         AccountLedgerSP spAccountLedger   = new AccountLedgerSP();
         DataTable       dtblAccountLedger = new DataTable();
         dtblAccountLedger             = spAccountLedger.MultipleAccountLedgerComboFill();
         cmbAccountGroup.DataSource    = dtblAccountLedger;
         cmbAccountGroup.ValueMember   = "accountGroupId";
         cmbAccountGroup.DisplayMember = "accountGroupName";
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "MAL1:" + ex.Message;
     }
 }