Quantcast
Viewing all articles
Browse latest Browse all 5678

Making Rows Invisible not working

Hi,

please help.

This code doesn't makes the rows InVisible 

-----------------------------------------------------------

if (gvitemsarray.Count() != 0)
{
for (int i = 0; i < gvitemslist.Count(); i++)
{
rowCount = 0;
foreach (GridViewRow grd1Row in gvItems.Rows)
{
if (valueKeys[i].Equals(gvItems.DataKeys[rowCount].Values[1].ToString()))
{
grd1Row.Visible = false;   or grd1Row.Enabled = false; 
}

rowCount++;
}

}

}

Please help not worling.

Best regards,
Renuka.V


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>