




















<%@ Page Language=”VB” %>
<script runat=”server”>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Meta1.Attributes(“Name”) = “description”
Meta1.Attributes(“CONTENT”) = “Generated on: “ & DateTime.Now.ToString()
End Sub
</script>
<html xmlns=”http://www.w3.org/1999/xhtml” >
<head runat=”server”>
<title>Using the HtmlGenericControl class</title>
<meta id=”Meta1” runat=”server” />
</head>
<body>
<form id=”form1” runat=”server”>
<div>
The rain in Spain stays mainly in the plains.
</div>
</form>
</body>
</html>
<%@ Page Language=”C#” %>
<script runat=”server”>
protected void Page_Load(object sender, EventArgs e)
{
Meta1.Attributes[“Name”] = “description”;
Meta1.Attributes[“CONTENT”] = “Generated on: “ + DateTime.Now.ToString();
}
</script>
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。