测试在博客中加入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 org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.poi.hssf.usermodel.HSSFFont;
im ......
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 ......
import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletContext;
import javax.servlet.Servl ......
aspx 生成HTML 静态页 :http://www.cnblogs.com/ejiyuan/archive/2007/11/09/954325.html
cs 页:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
u ......