可以自动读取模板文件后,生成 当前 年/月/日/yyMMddhhmmss.html
代码如下
C#
1
private bool CreateHtml(string strText,string strContent,string strAuthor)
2
html页代码2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ShowArticle</title>
</head>
<body>
biaoti
<br>
content<br>
author
</body>
</html>
<html>
<head>
<title>ShowArticle</title>
</head>
<body>
biaoti
<br>
content<br>
author
</body>
</html>