我的怎么显示只有一根横线?
本人初学着,是用DW做ASP.net网页,IIS 也装了,还有.net框架也装了,可是就是出不来?怎么回事
<%@ Page Language="C#" Debug="true"%>
<script runat="server">
void Page_Load()
{
lblMessage.Text="First line";
InsertLineBreak();
lblMessage.Text+="Second line";
InsertLineBreak();
lblMessage.Text+="Third line";
InsertLineBreak();
}
void InsertLineBreak()
{
lblMessage.Text="<br><hr>";
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<form runat="server">
<asp:Label ID="lblMessage" runat="server"></asp:Label>
</form>
</body>
</html>