asp.net 页面 输出之前修改 html(render)

protected override void Render(HtmlTextWriter writer)
{
StringWriter output = new StringWriter();
base.Render(new HtmlTextWriter(output));
//This is the rendered HTML of your page. Feel free to manipulate it.
string outputAsString = output.ToString(); writer.Write(outputAsString);
}
上一篇:ASP.NET缓存全解析2:页面输出缓存 转自网络原文作者李天平


下一篇:《精通Spring4.X企业应用开发实战》读后感第四章(Java反射)