HTML页面导出为Word
摘要:
protected void btnExport_Click(object sender, EventArgs e) { string strFileName = DateTime.Now.ToString("yyyyMMddHHmmss") + ".doc"; string sHtml = hfdHtml.Value;//前台的HTML传递过来的,注意加ValidateRequest="false" string sMht = HtmlToMht(sHtml); DnLoadFileFromMemoryStream(str... 阅读全文
posted @ 2014-02-10 16:08 kingtiger 阅读(941) 评论(0) 推荐(0) 编辑