There is a dataGridView1 and three textBox in which numbers are entered. in dataGridView 4 columns. in the first 3, numbers from 3 tectBoxes must be entered permanently, in the fourth one it is necessary to withdraw their sum. How to add a new line to the dataGridView and add in the new data entry? I do this, but new lines are not added:
string[] info = { textBox1.Text, textBox2.Text, textBox3.Text }; for (int i = 0; i < info.Length; i++) { string sad = info[i]; dataGridView1.Rows.Add(); dataGridView1.Rows[i].Cells[0].Value += sad; }