protected void Button1_Click(object sender, EventArgs e) 导出按钮事件
{
string HtmlBody = tbContent.Text; // 获取ckeditor中的内容
System.IO.File.WriteAllText(@"D:\abc.html", HtmlBody);
Response.Write("
System.Diagnostics.Process.Start(@"IExplore.exe", "D:\\abc.html");
}
分享: