PeterLee.KR
Today
Literature
Dance
Public_Administration
Programming
programming
Easy Pay System
Paypal
Something else here
Carpentry
Chronology
Tanzmate
Cntanz
Search
Edit
Back to List
PersonModel
ID
Date
Target
Title
Contents
HTML콘텐트를 어떻게 MSSQL에 저장하고 읽을 것인가 MVC5에서 create and read html tag from mssql in mvc 2. HTML Encode 하기 ("<" → "<") string encodeStr = HttpUtility.HtmlEncode(">") 3. HTML Decode 하기("<" → "<") string decodedStr = HttpUtility.HtmlDecode("<"); 4. 예제 using System.Web; ... string str = "&, <, >, \" "; Debug.WriteLine("Original String : " + str); // Encode the string. string encodedStr = HttpUtility.HtmlEncode(str); Debug.WriteLine("Encode String : " + encodedStr); // Decode the encoded string. string decodedStr = HttpUtility.HtmlDecode(encodedStr); Debug.WriteLine("Decode String : " + decodedStr); 출처: https://wpfstory.tistory.com/12 [WPF Story]
Back to List