Hi,
I just modified your code
for (int i = 0; i < dtgrdUnconfirm.Rows.Count; i++)
{
DataGridViewCheckBoxCell ch1 = new DataGridViewCheckBoxCell();
ch1 = (DataGridViewCheckBoxCell)dtgrdUnconfirm.Rows[i].Cells[0];
if (ch1.Value != null &&
Convert.ToBoolean(ch1.Value) == true)
{
data += (dtgrdUnconfirm.Rows[i].Cells[6].Value.ToString())+",";
}
}
MessageBox.Show(data);