aspx_professional thread: MyLabel.DataBind()?
<asp:Label id=Label1 runat="server" Text='<%# myString %>'></asp:Label> in the HTML above myString is a variable defined in the code behind with a statement such as... static protected string myString = "This is the text for the label"; Of course, don't forget to call Label1.DataBind() when the value of myString has been updated.
|





