I have a ComboBox with a template defined at design-time. The control is bound to a SqlDataSource, also defined at design-time. What I want to do is insert an item after the control is bound to the datasource (so, in the OnDataBound event).
I can insert a new item, but this new item doesn't contain any of the additional fields/values that the databound items have. I thought I could add the fields as attributes, but that didn't work. I'm sure this must be possible, but cannot figure it out or find the solution... what's the trick?
I can insert a new item, but this new item doesn't contain any of the additional fields/values that the databound items have. I thought I could add the fields as attributes, but that didn't work. I'm sure this must be possible, but cannot figure it out or find the solution... what's the trick?