I Need help adding a button to a cell of my DataGridView. It's not working with the code i'm using (see below).
I'm getting an error: No best type found for implicity-typed Array
DataGridViewButtonCell btn = new DataGridViewButtonCell();
this.dataGridView1[0,100] = btn;
this.dataGridView1[0,100].Value = "Button";
What i'm trying to accomplish is to add the 2nd column on this row with a button: (but it's not working)
dataGridView1.Rows.Add(new[] { "A:", (button goes here) , textbox1.Substring(648 , 2) })