Как сравнить даты в одном DataGridView
столбце. Я использую для l oop, чтобы сделать это, но не повезло.
for (int i = 0; i < dgv.Rows.Count; i++)
{
DateTime currDate = Convert.ToDateTime(dgv.Rows[i].Cells["End Date"].Value);
//index[0] > index[1]
//2020-04-04 2020-04-10
if (currDate > currDate)
{
MessageBox.Show("In Progress");
}
}