private void button1_Click(object sender, EventArgs e)
{
dataGridView.EndEdit();
for(int i = 0; i < dataGridView.Rows.Count; i ++)
{
bool isChecked = Convert.ToBoolean(dataGridView.Rows[i].Cells[0].Value);
if (isChecked)
{
}
}
}
'C#' 카테고리의 다른 글
[C#]ListView Row Color 변경 예제 (0) | 2016.04.19 |
---|---|
[C#]Sort 예제 (0) | 2016.04.18 |
[C#/PDA]Datagrid Row Delete (0) | 2016.04.11 |
[C#/PDA]DataGrid Row Count 구하기 예제 (0) | 2016.04.08 |
[C#]마지막 일 구하기 예제 (0) | 2016.04.06 |