B
BH
Is there a way to display different message based on the value of a
particualr column bound to a datagrid or datalist. For example, I have the
following column from the bound DataTable:
<%# DataBinder.Eval(Container.DataItem, "hasValue") %>
"hasValue" takes the true or false value. What I would like to display to
the user is if the value is true, display a hardcoded hyperlink, otherwise
leave the datagrid column (or datalist item) empty. Is there a way to do
this in the aspx or the code behind class?
Thanks a lot
Bob
particualr column bound to a datagrid or datalist. For example, I have the
following column from the bound DataTable:
<%# DataBinder.Eval(Container.DataItem, "hasValue") %>
"hasValue" takes the true or false value. What I would like to display to
the user is if the value is true, display a hardcoded hyperlink, otherwise
leave the datagrid column (or datalist item) empty. Is there a way to do
this in the aspx or the code behind class?
Thanks a lot
Bob