帮我看看哪里出错啦
刚学习asp.net,模仿书上的例子,可演示总出错,请大家告诉我是为什么啊
<script language="vb" runat="server">
sub page_load(sender as object,e as eventargs)
dim aa as byte=3
select case aa
case 1
response.write (aa&"的英文为"&"ONE")
case 2
response.write (aa&"的英文为"&"two")
case 3
response.write (aa&"的英文为"&"three")
case 4
response.write (aa&"的英文为"&"four")
case 5
response.write (aa&"的英文为"&"five")
case else
response.write ("数字超过范围!")
end select
end sub
</script>
出错提示如下:
Server Error in '/test' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30277: Type character '&' does not match declared data type 'Byte'.
Source Error:
Line 4: select case aa
Line 5: case 1
Line 6: response.write (aa&"的英文为"&"ONE")
Line 7: case 2
Line 8: response.write (aa&"的英文为"&"two")