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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Francis SusaimichaelRank #466 · 5.4K reputationPosted Oct 1, 2015, 7:53 PM EDT
<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>Ekrem TapanRank #1,694 · 900 reputationPosted Oct 1, 2015, 7:57 PM EDT
Francis SusaimichaelRank #466 · 5.4K reputationPosted Oct 1, 2015, 8:21 PM EDT