Hi,
I have a gridview with two columns one column contains usernames and another contains an image, code above. I then have a session variable which contains the userid,
<asp:HyperLinkField DataNavigateUrlFields="Work_Request_Task_PK" DataNavigateUrlFormatString="../cus.aspx?cus={0}" Text="<img src='../images/cus.gif' border='0'/>" HeaderText="Add Time"></asp:HyperLinkField>
What I want to do is compare the usernames in the gridview to the session variable, If it matches the image will show (with hyperlink, code above). If they don't another image will show with no hyperlink.
I've been looking at the Datarow but not sure if thats correct.
Any help would be really apprecited.
Thanks