展开全部
可以用url重写
===========================================
动态生成Html文件也不挺容易实现的,你可以引用
System.IO.StreamWriter这个命名空间,这是我项目中e69da5e887aa3231313335323631343130323136353331333361326339动态生成html的方法你可以参考一下:///
/// 生成HTML文件
///
/// 保存文件路径
/// 文件流内容
/// 文件名
public static void CreateHtmlFile(string FilePath, string Content, string FileName)
{
if (Directory.Exists(FilePath) == false)
{
Directory.CreateDirectory(FilePath);
}
using (StreamWriter m_streamWriter = new StreamWriter(FilePath + "\\" + FileName, false, System.Text.UnicodeEncoding.GetEncoding("UTF-8")))
{
m_streamWriter.WriteLine(Content);
m_streamWriter.Flush();
m_streamWriter.Close();
}
}