DataGridView1.Rows(e.RowIndex).Cells("DIFFERENT").Value = DateDiff(DateInterval.Year, DataGridView1.Rows(e.RowIndex).Cells("YEAR1").Value, DataGridView1.Rows(e.RowIndex).Cells("YEAR2").Value)
THIS code i put in datagridview_cellformating............
when i click button add (dt.rows.add(textbox))....all row in datagridview blinking and if too many rowswas added ,the blinking increase faster..
somebody help me please....................