i want do check the user is activated are not . if the person is activated i want to display the some image and if the person is not activated i want to show another image in item templet. i want the code in aspx page. i am getting the details in public function only in ack .cs page .
i wrote like this
<asp:TemplateColumn HeaderText="EDIT">
<ItemTemplate>
<%if (DataBinder.Eval(Container.DataItem,"txt_status") == 0)
{%>
<asp:HyperLink ImageUrl="images/icon_edit.gif" ID="Hyperlin ...
Go to the complete details ...