Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Contributor
3304 Points
744 Posts
Oct 27, 2006 12:53 AM|LINK
Actually, now that I think about it, I would recommend that you replace your <% whatever %> with something like this instead,
<asp:Label runat="server" id="myLabel" Text="<%# Session("copyrightDate") %>" />
And then in your page's Page_Load method you would be sure to do this:
myLabel.DataBind()
Does that make sense?
Russ Helfand
Contributor
3304 Points
744 Posts
Re: Controls collection Error
Oct 27, 2006 12:53 AM|LINK
Actually, now that I think about it, I would recommend that you replace your <% whatever %> with something like this instead,
<asp:Label runat="server" id="myLabel" Text="<%# Session("copyrightDate") %>" />
And then in your page's Page_Load method you would be sure to do this:
myLabel.DataBind()
Does that make sense?
Groovybits.com