在ASP中,可以使用以下方法對數組進行賦值:
Dim myArray(3)
myArray(0) = "Value1"
myArray(1) = "Value2"
myArray(2) = "Value3"
Dim myArray
myArray = Array("Value1", "Value2", "Value3")
Dim myString
myString = "Value1,Value2,Value3"
Dim myArray
myArray = Split(myString, ",")
Dim myArray(3)
For i = 0 To 2
myArray(i) = "Value" & (i + 1)
Next
以上是ASP中常用的數組賦值方法,根據具體的需求選擇適合的方法。