Label Task_code = (Label)e.Row.FindControl("Lbl_TASK_CODE");
HiddenField task_details = (HiddenField)e.Row.FindControl("Hf_Task_Details");
string[] words = task_details.Value.Split('/');
string Comments = words[0].ToString();
string Extension = words[1].ToString();
string EDR = words[2].ToString();
if (Comments != "0")
{
Task_code.Text = Task_code.Text + "" + "*" + "";
}
if (Extension != "False")
{
Task_code.Text = Task_code.Text + "" + "*" + "";
}
if (EDR != "False")
{
Task_code.Text = Task_code.Text + "" + "*" + "";
}
No comments:
Post a Comment