I am trying to set the Text property of a Label to:<BR><BR><%# DataBinder.Eval(Container.DataItem, "ReorderLevel") %><BR><BR>within the WebForm's class. It does not seem to be working for me. I can only assume the PreRender event does something to this string.<BR><BR>Has anyone attempted anything along these lines with success?<BR><BR>rpetersjust to confirm that your in-line code looks something like this...<BR><BR><asp:Label id="MyLabel" Text='<%# DataBinder.Eval(Container.DataItem, "ReorderLevel") %>' runat="server" /><BR><BR>take note of the single quotes around the <%# ... %>I am actually adding ItemTemplates to a TemplateColumn programmatically so I have no asp:Label tag within the in-line code. In your example:<BR><BR><asp:Label id="MyLabel" Text='<%# DataBinder.Eval(Container.DataItem, "ReorderLevel") %>' runat="server" /><BR><BR>how would you write out the Text property of MyLabel in class rather then on the WebForm?