Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Make Rows in DataTable to InVisible

$
0
0

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


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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