Nothing on the Transaction Listing dropdown even thou the account is populated:
if (acc.Permissions.Contains(PermissionEnum.ShowTransactions))
{
ddlAccounts.Items.Add(new ListItem(acc.AccountNumber + " " + acc.AccountName + "- Available: " + String.Format("{0:C}", acc.AvaliableBalance / 100), acc.AccountNumber));
}
if (acc.Permissions.Contains(PermissionEnum.ShowTransactions))
{
ddlAccounts.Items.Add(new ListItem(acc.AccountNumber + " " + acc.AccountName + "- Available: " + String.Format("{0:C}", acc.AvaliableBalance / 100), acc.AccountNumber));
}
No comments:
Post a Comment