I want to add controls (or simply
texts) to a ListView inside the ItemTemplate at run time.
The reason is that in my application
I don't know in advance how many controls (or texts) I should insert.
For example I have to read the fields
from a database table and insert in the ItemTemplate controls according to
Eval("fieldname1")%> - <%# Eval("fieldname2")%> -
<%# Eval("fieldname3")%> - ...
Afterwards I have to bind the ListView to the table content, so I need to
preserve the <%# ... %> structure
for the binding
View Complete Post