Problem with Object [ ]
Hi,
I have the following code
Object[] values = new Object[columns];
Object[,] result = new Object[rows,columns];
while(myDataReader.Read())
{
myDataReader.GetValues(values);
int i = 0;
foreach (object MyValue in values)
{
// Code to get values[] in result[i, ]
i++;
}
}
I want to put an normal array (values []) in a Rectangular array (result [counter i, value of other arry])
How's that possible?
And what is statement to return a object array? ( Public "Object[]" Database )
Thx in advance,
Ciao Bee
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

beebombay3 pointsPosted Mar 22, 2005, 5:31 AM EST