J
john pp nn
Guest
Hi folks,
I have
DataRow[] foundRows = GetData(); // 100 rows
for (int i = foundRows.Length - 1; i >= 0; i--)
{
bool hasOrder = true;
hasOrder = someFunction();
if (hasOrder == false) // always false
foundRows.Delete();
}
At this point, I still have 100 rows.
Why are they still there?
There is no foundRows.AcceptChanges() method that I can call.
THanks,
J
jppnn
Continue reading...
I have
DataRow[] foundRows = GetData(); // 100 rows
for (int i = foundRows.Length - 1; i >= 0; i--)
{
bool hasOrder = true;
hasOrder = someFunction();
if (hasOrder == false) // always false
foundRows.Delete();
}
At this point, I still have 100 rows.
Why are they still there?
There is no foundRows.AcceptChanges() method that I can call.
THanks,
J
jppnn
Continue reading...