bind session key to label or textbox?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is there an easy way to bind the value of a session variable to a textbox or
label instead of setting it in code behind?



Thanks much.
 
You could try databinding and / or using some of the variations of the
<#%=Container.DataItem... or eval(....) %> methods inline in the ASPX HTML
Markup.
Otherwise, what's the big inconvenience?
Peter
 
sorry, always looking for shortcuts ;) if I could just <#%=
eval("Session["""mySessionKey"""]") %>
 
Back
Top