You can assign values to properties that are strings, numbers, etc. like this
<asp:Control property="stringvalue" />
However when the property type is something complex(a class type) you must do this:
<asp:Control property=<%#Value%> />
And then call the data binding command to set the value.
In some scenarios calling the databinding command is not viable. In that case i must set all the properties programatically, while I would prefer to do declaratively.