O
Oliver Seibert
Hi,
i have the follwing scenario:
...
DataTable myDataTable = new DataTable();
myDataAdapter.Fill(myDataTable);
while-loop{
DataRow[] myData = myDataTable.Select("....
...
Insert, Update Into the Sorce-Table
}
....
Erverytime when the while-Loop iterates i want to have the actual data in
"myDataTable".
So i included "myDataTable.Clear()" + "myDataAdapter.Fill(myDataTable);"
into the while-Loop-Body.
This works fine but is awfully slow.
Is there another way of "refreshing" the "myDataTable"-Object?
i have the follwing scenario:
...
DataTable myDataTable = new DataTable();
myDataAdapter.Fill(myDataTable);
while-loop{
DataRow[] myData = myDataTable.Select("....
...
Insert, Update Into the Sorce-Table
}
....
Erverytime when the while-Loop iterates i want to have the actual data in
"myDataTable".
So i included "myDataTable.Clear()" + "myDataAdapter.Fill(myDataTable);"
into the while-Loop-Body.
This works fine but is awfully slow.
Is there another way of "refreshing" the "myDataTable"-Object?