写了一个ASP.NET代码,大家帮看一下那里有错误啊!!
<%@ Page Language="c#" %><script runat="server">
void SayHi(object obj, EvenArgs e)
{
lblMessage.Text = "Hi," + txtMame.Text + "你好"
}
</script>
<html>
<head></head>
<body>
<% Response.Write("第一个) %>
<br />
<asp:Label ID="lblMessage" runat="server" Text="看过来"/><br />
<from runat="server">
请输入姓名:<asp:TextBox ID="txtname" runat="server" /><br />
<asp:Button Text="发送" OnClick="SayHi" runat="server"/>
</from>
</body>
</html>
这个代码运行不成功,大家帮看一下那里有错误啊!!
谢谢!!