this is my code i want to remove the row of id "14" and "24"
Code:
foreach (DataRow d in dt.Rows)
{
if (d[4].ToString() == "14")
{
dt.rows.remove();
}
else if (d[4].ToString() == "24")
{
dt.rows.remove();
}
}