# Bind("MyFieldName")
- When you want to use evaluation, for example a value against a protected method, use:
# IsLead(Eval("Lead"))
Code behind:
protected string IsLead(object val)
{
if (val.ToString() == "True")
return "Yes";
else
return String.Empty;
}
No comments:
Post a Comment