if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label Lbl1 = (Label)e.Row.FindControl("Lbl_STATUS");
            if (Lbl1.Text == "True")
                Lbl1.Text = "Active";
            else if (Lbl1.Text == "False")
                Lbl1.Text = "Inactive";
       }

 
No comments:
Post a Comment