Hi, I have a repeater which I have bound to a DataReader to display information.
What I would like to do is inside the repeater dynamically create buttons to associate with each record retrieved from the database. Something like the following
When I run this I getCode:<asp:Button ID='T<%# Container.DataItem("PageId") %>' runat=server Text="Edit"></asp:Button>
"'T<%# Container.DataItem("PageId") %>' is not a valid identifier"
So, how can I dynamically create webforms/ buttons via ASP.Net?
Thanks in advance
MarkusJ




Reply With Quote