I could easily be wrong, but when I see databind I think of code that is quick to develop and inflexible and often ugly, e.g, embedding <% %> tags in html.
O
I could easily be wrong, but when I see databind I think of code that is quick to develop and inflexible and often ugly, e.g, embedding <% %> tags in html.
O
You shouldn't combine <% %>
tags with databinding. Databinding done right removes the need for those bee-stings.
Data binding sucks. Embedded <% %> tags suck. But they are different things (except that they both suck).
Declarative databinding is useful in straight-forward cases, and in demos of course.
It is a fantastic idea, but for most non-trivial uses you'll likely find yourself fighting the declarative databinding more than working with it. At the least, you'll end up assigning your datasources such in code as often as not, though column definitions and such in some of the list controls using the declarative databinding properties is common in both cases.
Generally, use declarative databinding when it helps, but as soon as you start fighting with it go ahead and switch to a code-driven design and save yourself the pain.