Hello again :)
I tried the last algorithm u offered me in the attempt to export faster.
This is what I wrote:
for (int i = 0; i < table.Columns.Count; i++) {
col = table.Columns[i];
obj[i] = col;
}
int j = 0;
foreach (DataRow dr in table.Rows) {
for (int i = 0; i < table.Columns.Count; i++) {
arr[j, i] = dr[obj[i]];
}
j++;
}
The difference between this algorithm and the one written in the previous post is minimal. Am I using it wrong?
Thank you.