错误 未知的服务器标记“asp:” 小弟愚笨,求大神指点,不胜感激,小弟先谢过啦!! 5
<scriptrunat="server">subsubmit(sourceasobject,easeventargs)button1.Text="您已经提交过!!"en...
<script runat="server">
sub submit(source as object,e as eventargs)
button1.Text="您已经提交过!!"
end sub
</script>
<html>
<head>
</head>
<body>
<form id="Form1" runat="server">
<asp: button id="button1" text="提交" runat="server" onclick="submit"/>
</form>
</body>
</html> 展开
sub submit(source as object,e as eventargs)
button1.Text="您已经提交过!!"
end sub
</script>
<html>
<head>
</head>
<body>
<form id="Form1" runat="server">
<asp: button id="button1" text="提交" runat="server" onclick="submit"/>
</form>
</body>
</html> 展开
3个回答
展开全部
<script runat="server">
sub submit(source as object,e as eventargs)
button1.Text="您已经提交过!!"
end sub
</script>
改为
<%
sub submit(source as object,e as eventargs)
button1.Text="您已经提交过!!"
end sub
%>
用call submit()调用
其实我也不是很懂,乱说的,不知道对不对,嘿嘿
sub submit(source as object,e as eventargs)
button1.Text="您已经提交过!!"
end sub
</script>
改为
<%
sub submit(source as object,e as eventargs)
button1.Text="您已经提交过!!"
end sub
%>
用call submit()调用
其实我也不是很懂,乱说的,不知道对不对,嘿嘿
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
<asp:
后面直接写button,不要写空格
后面直接写button,不要写空格
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
0
.0``我还以为是asp呢`
.0``我还以为是asp呢`
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询