Esempio n. 1
0
 /// <summary>
 /// Function to fill Datagridview for service account
 /// </summary>
 public void GridFillForServiceAccounts()
 {
     try
     {
         DataTable dtbl = new DataTable();
         AccountLedgerSP spAccountledger = new AccountLedgerSP();
         if (cmbAccountGroup.Text == "ALL")
         {
             cmbAccountGroup.Text = "ALL";
         }
         dtbl = spAccountledger.LedgerPopupSearchForServiceAccountsUnderIncome();
         dgvLedgerPopup.DataSource = dtbl;
     }
     catch (Exception ex)
     {
         MessageBox.Show("LP2:" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }