O
Ondrej Sevecek
Hello,
I would like to find DataRow from some table identified by IDENTITY column
value:
foreach (DataRow currentRow in DataTable1)
{
if (currentRow["identitycolumn"] == 100)
{
break;
}
--or--
new DataView(DataTable1, "identitycolumn = 100", null, ...
What method is more efficient and how can one determine the efficiency of
such different methods in other cases?
Ondra.
I would like to find DataRow from some table identified by IDENTITY column
value:
foreach (DataRow currentRow in DataTable1)
{
if (currentRow["identitycolumn"] == 100)
{
break;
}
--or--
new DataView(DataTable1, "identitycolumn = 100", null, ...
What method is more efficient and how can one determine the efficiency of
such different methods in other cases?
Ondra.