.NET Framework 4.5
Gets the DataRow being viewed.
Assembly: System.Data (in System.Data.dll)
The following example uses the property to print the value of the third column in each modified row of a DataView.
Private Sub ShowColumn3() Dim view As DataView = CType(dataGrid1.DataSource, DataView) ' Set the filter to display only those rows that were modified. view.RowStateFilter = DataViewRowState.ModifiedCurrent ' Change the value of the CompanyName column for each modified row. Dim rowView As DataRowView For Each rowView In view Console.WriteLine(rowView.Row(2)) Next rowView End Sub