private void dataGridView1_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e) { if (store.ContainsKey(e.RowIndex)) { // Use the store if the e value has been modified // and stored. e.Value = store[e.RowIndex]; }
store
Dictionary<int, Int>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)