I'm having trouble hiding rows with 0
value in DataGridView
.
foreach (DataGridViewRow row in this.taggGrid.Rows)
{
if (Convert.ToString(row.Cells[4].Value).Equals(0))
{
row.Visible = false;
}
}
The row I want to hide still shows.