how to get the current row after save and editing row. what code should be addded after this code below

con.Open()
                a = strn.ExecuteNonQuery
                MsgBox("Updated")
                adap = New OleDbDataAdapter("select * from Parcel", con)
                adap.Fill(ds, "1")
                ParcelDataGridView.DataSource = ds.Tables("1")

Using a data binding source between the table and the datagridview, the Current property of the binding source point the the current data row.

Hope this helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.