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 -

sql server - python to mssql encoding problem -

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