private void ShowColumn3() {
   DataView dv = (DataView) dataGrid1.DataSource;
   // Set the filter to display only those rows that were modified.
   dv.RowStateFilter=DataViewRowState.ModifiedCurrent;
   // Change the value of the CompanyName column for each modified row.
   foreach(DataRowView drv in dv){
      Console.WriteLine(drv.Row[2]);
   }
}