测试在博客中加入html的支持
for
(tmp
=
m_commentHead
;
tmp
;
tmp
=
tmp->next)
{
nCommentNum ++
;
memset(wBuffer,
0
,COMMENT_LEN)
;
MultiByteToWideChar(CP_UTF8,
0
,tmp->comment,-
1
,wBuffer,COMMENT_LEN)
;
if
(wcslen(wBuffer)
==
0
)
{
continue;
}
switch
(nCommentNum)
{
case
1
:
m_Comment1CEdit.SetWindowText(wBuffer)
;
break;
case
2
:
m_Comment2CEdit.SetWindowText(wBuffer)
;
break;
case
3
:
m_Comment3CEdit.SetWindowText(wBuffer)
;
break;
case
4
:
m_Comment4CEdit.SetWindowText(wBuffer)
;
break;
case
5
:
&nb
相关文档:
package test;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import jxl.Cell;
import jxl.Range;
import jxl.Sheet;
import jxl.Workbook;
import jxl.format.Alignment;
import jxl.format.Border;
import jxl.forma ......
I needed a tab pane to put some content in my web pages. There are many solutions around
and I must say that they are quite good, but I had some extra requirements that I needed.
I did search around but I did not find what I wanted, so I ended up producing something and now I am sharing
it with y ......
最近需要将xml的数据提取出来转化为xml,因此上网找资料搜索了一番,也学到了很多。现将学习时写的代码和文件发上来,记录记录,以备忘。
首先贴一下xml文件的代码。
<?xml version="1.0"?>
<students>
<student id="1001">
<name>张三</name>
<score>85</score&g ......
string s="<font style=font:60pt face=隶书 color=ff0000>网络世界</font>";
//替换
string ss= s.Replace("&", "&").Replace("<", "<").Replace(">", ">");
label2.text=ss; ......