asp.net code that changes values dynamically during data binding
- 2020-05-10 17:58:11
- OfStack
-- -- -- -- -- -- -- -- the background -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- at the front desk -- -- -- -- -- -- -- -- -- --
protected string GetStr(string boo)
{
if ("False".Equals(boo))
{
return " unfinished ";
}
else
{
return " Has been completed ";
}
}
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- at the front desk -- -- -- -- -- -- -- -- -- --
<%# GetStr(Eval("IsDoneByCompany").ToString())%>