I have the following Combobox
and I bind it with the following code:
Sometimes the code associated with an account will expire and no longer be available in the available list, but it still exists so I have to individually retrieve it and add it to the combobox list. Here is my code for that process
And that's where the wheels come off. The items is there but only sort of. It will get selected but there is no items in the list. and it usually throws and ASPX page error the <%# DataBinder.Eval(Container.DataItem, "acct_code") %> doesn't exist.
What is the piece of the puzzle that's missing? I have tried it with oItem.DataBind() and that doesn't solve things.