Page_Load:
Style sty = new Style();
sty.ForeColor = System.Drawing.Color.Red;
sty.BackColor = System.Drawing.Color.LightBlue;
Page.Header.StyleSheet.CreateStyleRule(sty,null,"BODY");
Page.Header.Title = "header sample";
----------------------------------------------------------------------------------------------
//HtmlMeta <meta http-equiv="refresh" content="3">
HtmlMeta meta = new HtmlMeta();
//meta.Name = "";
meta.HttpEquiv = "refresh";
meta.Content = "3";
HtmlHead hh = (HtmlHead)Page.Header;
hh.Controls.Add(meta);
沒有留言:
張貼留言