C
chris
I know I've asked this before, but I didn't really get an answer and I
bet it's because I didn't explain myself very well. Here goes again.
I have this code:
Dim arrData(intNoOfRows, intNoOfColumns) As Object
Dim intR As Integer
For intC As Integer = 0 To intNoOfColumns - 1
arrData(intR, intC) = ds.Tables(0).Columns.Item
(intC).ColumnName
For intR = 0 To intNoOfRows - 1
arrData(intR, intC) =
ds.Tables(0).Rows(intR).Item(intC)
Next
Next
What I want to do instead is:
Dynamically create the required amount of arrData objects, by
incrementing them by one. i.e. pseudo code:
Dim arrData(inX)(intNoOfRows, intNoOfColumns) As Object
Where intX will be the incrementation that will give me the following
type output:
arrData1
arrData2...etc.
Any Ideas?
Thanks
bet it's because I didn't explain myself very well. Here goes again.
I have this code:
Dim arrData(intNoOfRows, intNoOfColumns) As Object
Dim intR As Integer
For intC As Integer = 0 To intNoOfColumns - 1
arrData(intR, intC) = ds.Tables(0).Columns.Item
(intC).ColumnName
For intR = 0 To intNoOfRows - 1
arrData(intR, intC) =
ds.Tables(0).Rows(intR).Item(intC)
Next
Next
What I want to do instead is:
Dynamically create the required amount of arrData objects, by
incrementing them by one. i.e. pseudo code:
Dim arrData(inX)(intNoOfRows, intNoOfColumns) As Object
Where intX will be the incrementation that will give me the following
type output:
arrData1
arrData2...etc.
Any Ideas?
Thanks