I have two forms and a datagridview which is in the form1.Im trying to add a new column by clicking in a button from form2.Like that:
private void button1_Click(object sender, EventArgs e)
Form1 form1 = new Form1();
form1.dataGridView1.Columns.Add("test" , "test");
How can I do that?