如何将复选框添加到datagridview中的每个单元格

问题描述:

hi
我正在做学校软件项目.我在sqlserver中用subjetname
创建了一个表 我将在datagridview中显示它.它会像这样

泰米尔语英语

II

现在,我想在每个主题下方添加复选框,以允许老师检查
该复选框以表明他可以选修哪个学科.


我需要像这样的datagridview结构


泰米尔语英语
我选中复选框
II复选框复选框


我不知道如何为每个单元格添加复选框.

如果有人有什么帮助我
提前进行tahank的操作

hi
i am doing school software project. I created a table in sqlserver with subjetname
and i will display it in in the datagridview .and it will lok like this

Class Tamil English
I
II

now i want to add the checkbox below each subject for allowing the teacher to check
that checkbox to indicate which subject he can able to take.


i need a datagridview struture lik this


class Tamil English
I checkbox checkbox
II Checkbox Checkbox


i don''t know how to add checkbox to each cell.

if anyone have any idea help me
tahank''s in advance

尝试
http://www.dotnetspark.com/kb/151-add-checkbox- inside-datagridview-windows.aspx [ ^ ]
http://csharp.net-informations.com/datagridview/csharp-datagridview-checkbox.htm [^ ]
http://www.youtube.com/watch?v=YIwkzu4l3uM [
Try
http://www.dotnetspark.com/kb/151-add-checkbox-inside-datagridview-windows.aspx[^]
http://csharp.net-informations.com/datagridview/csharp-datagridview-checkbox.htm[^]
http://www.youtube.com/watch?v=YIwkzu4l3uM[^]