这是一个asp.net的全文教程.里面还有数据库的数据.对初学者有很大的帮助

源代码在线查看: ch12-06-01.aspx

软件大小: 629 K
上传用户: liu4052032
关键词: asp net 教程 初学者
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				Ch12-06-01.aspx System.Array类
				
				
				System.Array类 - 数组操作
								' 声明一维数组
				Dim WeekDays() As String = {"星期日","星期一","星期二","星期三", "星期四", "星期五","星期六" }
				' 声明二维数组
				Dim UserDatas(3, 7) As String
				' 显示数组信息
				Response.Write("WeekDays数组属于 " & WeekDays.Rank & " 维数组")
				Response.Write("共有:" & WeekDays.Length & " 个元素")
				Response.Write("索引下限:" & WeekDays.GetLowerBound(0) & "")
				Response.Write("索引上限:" & WeekDays.GetUpperBound(0) & "")
				Response.Write("UserDatas(3, 7)数组属于 " & UserDatas.Rank & " 维数组")
				Response.Write("共有:" & UserDatas.Length & " 个元素")
				Response.Write("第一维元素数量:" & UserDatas.GetLength(0) & "")
				Response.Write("第二维元素数量:" & UserDatas.GetLength(1) & "")
				Response.Write("第一维索引下限:" & UserDatas.GetLowerBound(0) & "")
				Response.Write("第一维索引上限:" & UserDatas.GetUpperBound(0) & "")
				Response.Write("第二维索引下限:" & UserDatas.GetLowerBound(1) & "")
				Response.Write("第二维索引上限:" & UserDatas.GetUpperBound(1) & "")
				%>
				
				
				
							

相关资源