public void get3() { f.dataGridView3.RowCount = list.Count + 1; for (int i = 0; i < list.Count; i++) { cl obj1 = list[i]; f.dataGridView3.Rows[i].Cells[0].Value = obj1.getpri(); f.dataGridView3.Rows[i].Cells[1].Value = obj1.getima(); f.dataGridView3.Rows[i].Cells[2].Value = obj1.getpob(); f.dataGridView3.Rows[i].Cells[3].Value = obj1.getzar(); f.dataGridView3.Rows[i].Cells[4].Value = obj1.getzar() * 0.1; f.dataGridView3.Rows[i].Cells[5].Value = obj1.getzar() * 1.1; } }