public void Populate(string[][] data) { DataGridViewRowCollection rows = this.dataGrid.Rows; rows.Clear(); foreach (string [] d in data) { rows.Add(d[0], d[1]); int idx = rows.GetLastRow(DataGridViewElementStates.None); rows[idx].Cells[2].Tag = d[2]; } }