0
디렉토리에서 rtf 파일을 읽기 위해 asp.net ajax 2.0/3.5의 html 편집기를 만들 수 있습니까?asp.net에서 html 편집기 2.0/3.5
만약 그렇다면 어떻게 할 수 있습니까?
디렉토리에서 rtf 파일을 읽기 위해 asp.net ajax 2.0/3.5의 html 편집기를 만들 수 있습니까?asp.net에서 html 편집기 2.0/3.5
만약 그렇다면 어떻게 할 수 있습니까?
예, 먼저; 파일 내용을 읽습니다.
// Specify file.
FileStream file = new FileStream(Server.MapPath("~\\files\\test.rtf"), FileMode.OpenOrCreate, FileAccess.Read);
StreamReader sr = new StreamReader(file);
// Read contents of file into a string
string cval = sr.ReadToEnd();
// Second; Set Content property of HTMLEditor.
htmlEditor.Content = cval;
// Close StreamReader
sr.Close();
// Close file
file.Close();
도움을 받으려면 아메드보다 –
ࡱ > 9 내가 변환 할 때이 유형의 데이터를 보여주고있다.이 공간을 ASCII 형식의이 코드로 인코딩하면 도움이 될 것입니다. –
언제 변환합니까? 개종자가 무슨 뜻이야? – Ahmed