I have a DatagridView in which the first column is fixed and has TextBoxes. The second column has ComboBoxes. All of the rows at the second column have 4 choices(name, surname, address, date).
When the user chooses from the ComboBoxes and presses a button, I need to take the values of the second column and put them in a new string[].
So if the user chooses :
name,
surname,
name,
date,
They are put in a string array named FromDataGrid[]. As far as now I have made this:
private void button2_Click(object sender, EventArgs e) {
string[] colB = new string[dataGridView1.Rows.Count];