在ASP.NET编程中,由于经常采用一个页面通过不同的参数来显示不同的内容,因此常常需要实现动态输出不同的html header, 比如title, keywords, descrtptions等。 推荐的简单做法如下: protected void Page_Load(object sender, EventArgs e) { //Page title Page.Title = "This is a title and meta test page."; //Encode/Content...