To Add Column With Button In
DataGridView
Dynamically
Follow this Code
DataGridViewButtonColumn bcol = new DataGridViewButtonColumn();
bcol.HeaderText = "Button Column ";
bcol.Text = "Click Me";
bcol.Name = "btnClickMe";
bcol.UseColumnTextForButtonValue = true;
dataGridView1.Columns.Add(bcol);
And For Handling Click Event of Button
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex == 1)
{
}
}
Happy Coding :)