Actually, in 2.0 there IS a new method on the Rows collection that can
return the row ordinal. It's coded like this:
For Each myRow As DataRow in myDataTable.Rows
intRowOrdinal = myDataTable.Rows.IndexOf(myRow)
...
Next
I can understand why you haven't found it. One of the more serious problems
with Visual Studio 2005 is not any malfunction, it's the fact that many of
the new features are so poorly documented that they have not been
discovered. We have asked MS to address this issue but so far we have not
seen any substantive change in the doc. I and other authors are working as
hard as we can to get RTM-based documentation in your hands that highlights
these new (and often important) new features without marketing fluff or
echoing the doc.
hth
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________