Hi
please help,
Want to make the rows in the DataTable to invisible, for the below situation(Web Application)
I'm googled but not find the exact result.
if (itemstodisablelist.Count() != 0)
{
for (int i = 0; i < itemstodisablelist.Count(); i++)
{
rowCount = 1;
foreach (DataRow grd1Row in dt.Rows)
{
if (valueKeys[i].Equals(dt.Rows[rowCount][1].ToString()))
{
dt.Rows[rowCount].Visible = false; // Have to make the Row in the DataTable To Invisible.. Visible Property is not working here . What will be the exact replacement for this
grd1Row.Visible = false;
}
rowCount++;
}
}
}
Thanks in Advance :-)
Best regards
Renuka.V