Hi all,
i have a small issue in form, one grid is there in that one hyperlink is there name is View Attachment user can upload a file after that he has to click the view attachment link button then attachment will be opened.my issue is if not upload a file then in that grid view that hyperlink button was not displayed how to solve this problem,below is my screen shot.view attachment is in item template below is my aspx code,when we bind the data to the grid if attachment is not availble at that time the hyper link button was not displayed this is my issue
<asp:TemplateField HeaderText="View Attachment">
<ItemTemplate>
<a href='<%#Eval("CertificateAttachment")%>' target="_blank" style="color: Black" >View
Attachment</a>
</ItemTemplate>
<ItemStyle Width="26%" />
<HeaderStyle HorizontalAlign="left" />
</asp:TemplateField>