主题:菜鸟求助
<html>
<body>
<form runat="server">
语文:<asp:textbox runat="server" id="chinese"/><p>
数学:<asp:textbox runat="server" id="math"/><p>
英语:<asp:textbox runat="server" id="english"/><p>
<asp:button runat="server" text="计算平均值" onclick="botton_click"/>
</form>
</body>
</html>
<script language="vb" runat="server">
sub button_onclick(sender as object,e as eventargs)
dim totle
totle=val(chinese.text)+val(math.text)+val(english.text)
response.write("平均数:"&totle/3)
end sub
</script>
请问,那里出错.调试的时候显示:"<script language="vb" runat="server">"该句出错!请高手赐教!
<body>
<form runat="server">
语文:<asp:textbox runat="server" id="chinese"/><p>
数学:<asp:textbox runat="server" id="math"/><p>
英语:<asp:textbox runat="server" id="english"/><p>
<asp:button runat="server" text="计算平均值" onclick="botton_click"/>
</form>
</body>
</html>
<script language="vb" runat="server">
sub button_onclick(sender as object,e as eventargs)
dim totle
totle=val(chinese.text)+val(math.text)+val(english.text)
response.write("平均数:"&totle/3)
end sub
</script>
请问,那里出错.调试的时候显示:"<script language="vb" runat="server">"该句出错!请高手赐教!