This was an easy item in WebForms, but is eluding me in MVC.
Trying to add a session variable to html markup, but can't find a way to get it to work..
Tried
<div class="panel-body">
<p>It might suprise you to know that you can upgrade from @Session("CurrentProvider") to blah blah....</p>
</div>
Wrapping it in code tags and all sorts.
Any ideas?
Thanks
Aucun commentaire:
Enregistrer un commentaire