将内容保存为html文件
答
只需要C#中的一行:System.IO.File.WriteAllText(System.Environment.SpecialFolder.CommonDocuments + "myhtmlfile.html", "<html>...</html>", System.Text.Encoding.UTF8);
研究“System.IO”命名空间。它包含您需要与文件系统进行交互的所有类和类型。 – asawyer 2011-02-17 14:02:24