namespace datagridview_checkbox_column
{
public partial class Form1 : Form
{
List<int> trueIndexes = new List<int>();
public Form1()
{
InitializeComponent();
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex == 1 && e.RowIndex != -1)
{
trueIndexes.Add(e.RowIndex);
}
}
}
}
Download the project of Visual Studio 2013 in DropBox Download