Anjana Anjana - 1 month ago 10
C# Question

how to add Buttons in datagrid view using C# .net

enter image description herehow to add buttons in Data-grid view using windows form application in c# .net.
In this link ,you can see that buttons are add in rows for delete,edit and active columns names.like that way, i want to add buttons in datagrid view in winformenter image description here

Answer
  1. Right click in your datagridview.
  2. In pop-up select Add Column.
  3. In add column pop-up you can choose DataGridViewButtonColumn.

enter image description here

Comments