hi everybody
i want to ask how can i false a datatable row visible status ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Francis SusaimichaelPosted Oct 1, 2015, 11:53 PM
<div class="dp-highlighter"><div class="bar"></div><ol start="1" class="dp-c"><li class="alt"><span><span class="keyword">
protected void gview_RowDataBound(object sender, GridViewRowEventArgs e)
{
if(e.Row.RowType == DataControlRowType.DataRow)
{
// This is the column which is bind from "IsVisible" column from Datatable
if(e.Row.Cells[0].Text == "Hidden")
{
e.Row.Visible = false;
}
}
}
</span></span> </li> </ol> </div>
Francis SusaimichaelPosted Oct 2, 2015, 12:21 AM
Ekrem TapanPosted Oct 1, 2015, 11:57 PM