Why the code shown below does not render as hyperlink with asp.net mvc -


@mvchtmlstring.create("<a href=""" + blogcomment .userblogurl + """>" +  blogcomment .userblogurl + "</a>" ) 

why not doing:

<a href="@blogcomment.userblogurl">@blogcomment.userblogurl</a>  

instead?


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -