private void fillLetterGrid() { int groupId = int.Parse(gridLetterGroup.SelectedCells[0].OwningRow.Cells[LetterGroupEntity.FIELD_ID].Value.ToString()); LetterEntity entity; entity = _letterBL.getByGroupId(groupId); System.Collections.Hashtable hash = new Hashtable(); _gridTools.bindDataToGrid(letterGrid, entity, null, hash); }
private void fillGrid() { LetterEntity entity; entity = _letterBL.getByGroupId(_groupId); System.Collections.Hashtable hash = new Hashtable(); _gridTools.bindDataToGrid(dataGridView1, entity, null, hash); }