在.NET 2.0,要將.aspx 網頁中顯示的字串編碼時,要這樣寫: <%= HttpUtility.HtmlEncode(str) %> 到了ASP.NET MVC 1.0,可以用HtmlHelper 類別 ...
確定! 回上一頁