Yes, it does. This is the .NET 2.0 page on MSDN:
http://msdn.microsoft.com/en-us/library/system.data.datarowcollection.indexof(VS.80).aspx On Jun 22, 8:30 pm, anubhav nidaria <[email protected]> wrote: > ur logic here is perfectly fine but dere's a problem in code, u gave me d > following code right : > > Dim pos as Integer = -1 > 'Assumes that the "id" column is set as the Primary Key of the > DataTable. > Dim dr as DataRow = DataSet11.Table1.Find("4") > If dr isnot nothing then > *pos = DataSet11.Table1.Rows.IndexOf(dr) > * Me.BindingContext(DataSet11, "table1").Position = pos > End If > > take a look at the bold statement, i found out tht dere's no "indexof" method > available 4 "dataset11.table1.rows", atleast not in vb.net(version 2005). > pls suggest an alternative. > > thank u > > >
