摘要: 传统方法如下:protected override void Render(HtmlTextWriter writer){string content = string.Empty; StringWriter stringWriter = new StringWriter(); HtmlTextWriter htmlWriter = new HtmlTextWriter(stringWriter); try { // 将当前页面的内容呈现到临时的 HtmlTextWriter 对象中 base.Render(htmlWriter); htmlWriter.Close(); // 得到当前页面 阅读全文
posted @ 2010-12-15 14:56 再快一点 阅读(8999) 评论(5) 推荐(4) 编辑