摘要:
首先在前台aspx文件中的head标记添加runat="server"的属性。之后后台如下编写:protected void Page_Load(object sender, EventArgs e){ //Page title Page.Title = "This is a title and meta test page."; //Encode/Content type HtmlMeta encode = new HtmlMeta(); encode.HttpEquiv = "Content-Type"; encode.Conte 阅读全文