<script runat="server">
Sub Server_Change(Source As Object, e As EventArgs)
If Radio1.Checked = True Then
Span1.InnerHtml = "您选择的是个人免费邮箱"
Else
If Radio2.Checked = True Then
Span1.InnerHtml = "您选择的是VIP邮箱"
Else
If Radio3.Checked = True Then
Span1.InnerHtml = "您选择的是企业邮箱"
End If
End If
End If
End Sub
</script>
<script runat="server">
Sub SubmitBtn_Click(sender As Object, e as EventArgs)
If (Name.Value = "catfish@contoso.com") And _
(Password.Value = "catfish") Then
Message.InnerHtml = "恭喜您,您的输入正确!"
Else
Message.InnerHtml = "抱歉,您的输入有误,请重新输入!"
End If
End Sub
</script>
为什么会出现这些错误 我同学的VS2005并没有出现类似问题 这是ATA考试 VS2003的题目但是我觉得应该没什么关系吧 是不是我少装了什么插件?