🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.cn.dotnet.framework.aspnet
Article #2

asp.net����

#2
From: ����(��)
Date: Mon, 17 Jul 2006 07:36
60 lines
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>
Technical Details
Message-ID: <44bb3dd6.26115453@cnusenet.3322.org>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!news.yaako.com!cnusenet.3322.org!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 113da5,e97d7999d3ec8924,start
X-Google-Thread: 107c7f,e97d7999d3ec8924,start
X-Google-Attributes: gid113da5,gid107c7f,public
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!news.yaako.com!cnusenet.3322.org!not-for-mail
From: "����(��)" <root@guohai.org.discuss>
Newsgroups: microsoft.public.cn.dotnet.framework.aspnet,cn.fan
Subject: asp.net����
Date: Mon, 17 Jul 2006 15:36:53 +0800
Organization: news://cnusenet.3322.org
Lines: 60
Message-ID: <44bb3dd6.26115453@cnusenet.3322.org>
NNTP-Posting-Host: 60.22.248.138
Mime-Version: 1.0
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit
X-Trace: news.yaako.com 1153121820 31910 60.22.248.138 (17 Jul 2006 07:37:00 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Mon, 17 Jul 2006 07:37:00 +0000 (UTC)
X-Newsreader: Forte Agent 1.8/32.548
X-Original-NNTP-Posting-Host: 218.241.82.36
X-Original-Trace: 17 Jul 2006 15:36:57 +0800, 218.241.82.36