Thread View: microsoft.public.cn.dotnet.framework.aspnet
1 messages
1 total messages
Started by ����(��)
Mon, 17 Jul 2006 07:36
asp.net����
Author: ����(��)
Date: Mon, 17 Jul 2006 07:36
Date: Mon, 17 Jul 2006 07:36
60 lines
2843 bytes
2843 bytes
�������£��������ʱ����phone����������ĸ���ť�ڵ�����
<script language="C#" runat="server">
void phone(object sender,EventArgs e)
{
//���ʱ�������ĸ�button���е�����¼���
phoneNum.Text+="1";
}
void phoneCall(object sender,EventArgs e)
{
if(phoneNum.Text!="")
{
message.Text="�����ں���"+phoneNum.Text;
}
else
{
message.Text="����������绰���룡";
}
}
</script>
<html>
<body>
<form runat="server">
<asp:button id="btn1" Onclick="phone" runat="server"
text=" 1 "/>
<asp:button id="btn2" Onclick="phone" runat="server"
text=" 2 "/>
<asp:button id="btn3" Onclick="phone" runat="server"
text=" 3 "/>
<br/>
<asp:button id="btn4" Onclick="phone" runat="server"
text=" 4 "/>
<asp:button id="btn5" Onclick="phone" runat="server"
text=" 5 "/>
<asp:button id="btn6" Onclick="phone" runat="server"
text=" 6 "/>
<br/>
<asp:button id="btn7" Onclick="phone" runat="server"
text=" 7 "/>
<asp:button id="btn8" Onclick="phone" runat="server"
text=" 8 "/>
<asp:button id="btn9" Onclick="phone" runat="server"
text=" 9 "/>
<br/>
<asp:button id="btna" Onclick="phone" runat="server"
text=" * "/>
<asp:button id="btn0" Onclick="phone" runat="server"
text=" 0 "/>
<asp:button id="btnb" Onclick="phone" runat="server"
text=" # "/>
<br/>
<asp:textbox id="phoneNum" runat="server"/>
<br/>
<asp:button id="call" Onclick="phoneCall" text="����"
runat="server"/>
</form>
<asp:label id="message" runat="server"/>
</body>
</html>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads