Programing/C#
DataGridView Cell에 Button 생성하기
june._.note
2016. 10. 21. 10:53
Cell 자체를 버튼으로 만드는 DataGridViewButtonCell이라는 객체가 존재함.
이전에 사용해서 객체이름은 생각 났지만 어떻게 사용하는지 몰라, Cell의 style 속성값에도 넣어보고,
여러가지 시도를 하다가 결국 검색.
dataGridView1.rows[0].cells[0] = new DataGridViewButtonCell();
이렇게 선언만 해주면 끝이었음.....
http://csharp.net-informations.com/datagridview/csharp-datagridview-add-column.htm)