I know you can bind in the code-behind, but I don't quite understand how it works if you want to declare it within the controls tag. This is for a custom collection.
I thought it was just
Datasource="<%# MyCollection %>"
Where MyCollection is an exposed property of the class in the code behind?
MyCollection{ get{ return _MyCollection;}}
Something like that. But it doesn't seem to work that way, so can I not bind this way, or am I missing something?