
生成静态HTML页
文章平均质量分 76
minghui000
这个作者很懒,什么都没留下…
展开
-
ASP.Net生成静态HTML页
环境:Microsoft .NET Framework SDK v1.1 OS:Windows Server 2003 中文版ASP.Net生成静态HTML页在Asp中实现的生成静态页用到的FileSystemObject对象!在.Net中涉及此类操作的是System.IO 以下是程序代码 注:此代码非原创!参考别人代码//生成HTML页 public static bool WriteFile原创 2005-03-16 13:10:00 · 760 阅读 · 0 评论 -
自动生成HTML页面的功能
public static bool WriteFile(string strText,string strContent,string strAuthor) { string path = HttpContext.Current.Server.MapPath("/news/"); Encoding code = Encoding.GetEncoding("gb2312"); /原创 2005-03-19 00:56:00 · 2661 阅读 · 2 评论 -
How to freeze a dynamic aspx page into a static html page (on the server).
Take this scenario: On a website a visitor fills in a form after which the form is to be filed as a static html page. You might have several reasons for wanting to do that, one of them are search engi原创 2005-03-16 13:13:00 · 811 阅读 · 0 评论 -
如何利用ASP.NET技术动态生成HTML页面
思路 1. 利用如Dw-Mx这样的工具生成html格式的模板,在需要添加格式的地方加入特殊标记(如$htmlformat$),动态生成文件时利用代码读取此模板,然后获得前台输入的内容,添加到此模板的标记位置中,生成新文件名后写入磁盘,写入后再向数据库中写入相关数据。 用UC每月免费发短信 新浪点点通天气 让眼镜成为历史 你的放心来自我的用心 2. 使用后台代码原创 2005-03-19 00:50:00 · 771 阅读 · 0 评论