S
socket
Unregistered / Unconfirmed
GUEST, unregistred user!
以下是我的代码 myasp.aspx---文件名
<%@ Page Language="C#" %>
<HTML>
<HEAD>
<SCRIP runat=server>
protected void bit_ok_Click(object Source,EventArgs e)
{
label1.Text = "My Name is <b>FFF<b>" ;
}
</SCRIP>
</HEAD>
<BODY>
<H3>ASP.NET Example</H3>
<FORM runat=server>
<asp:Button id=bit_ok
runat=server
Text="OK"
onClik="bit_ok_Click" />
<br><br>
<asp:Label id=label1 runat=server />
</FORM>
</BODY>
</HTML>
在ie中输入http://localhost/webservice/myasp.aspx它输出为
protected void bit_ok_Click(object Source,EventArgs e) { label1.Text = "My Name is FFF" ;
}
ASP.NET Example
<<这里是一个按纽>>
为什么是这个结果,而书上说的结果是 "按了按纽以后它会在最下面显示 My Name is FFF "
<%@ Page Language="C#" %>
<HTML>
<HEAD>
<SCRIP runat=server>
protected void bit_ok_Click(object Source,EventArgs e)
{
label1.Text = "My Name is <b>FFF<b>" ;
}
</SCRIP>
</HEAD>
<BODY>
<H3>ASP.NET Example</H3>
<FORM runat=server>
<asp:Button id=bit_ok
runat=server
Text="OK"
onClik="bit_ok_Click" />
<br><br>
<asp:Label id=label1 runat=server />
</FORM>
</BODY>
</HTML>
在ie中输入http://localhost/webservice/myasp.aspx它输出为
protected void bit_ok_Click(object Source,EventArgs e) { label1.Text = "My Name is FFF" ;
}
ASP.NET Example
<<这里是一个按纽>>
为什么是这个结果,而书上说的结果是 "按了按纽以后它会在最下面显示 My Name is FFF "