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