multi-dimenional array operation

Hi:

I have a multi-dimentional array, like a(,)... Now I want to put elements in array a by the row or column into a one-dimentional array b()... Anybody knows how to do that easily?

thank you very much!

[226 byte] By [yhong] at [2007-12-24]
# 1

Dim MyArray(10) As String

Dim OtherArray(10, 10) As String

For x As Integer = 0 To 10

MyArray(x) = OtherArray(0, x)

Next

that will take the first 11 elements of the OtherArray and store them in MyArray

DMan1 at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...