[C#][MVC] Html編碼

  • 88
  • 0
  • 2018-03-28

+-*/...等符號在Html當字串時的時候會被重新編碼

&=&"="©=©

 

解法:@HttpUtility.UriEncode( "字串" )