摘要: 首先在前台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 阅读全文
posted @ 2013-08-13 16:48 DODUI 阅读(371) 评论(0) 推荐(0) 编辑