I have been working on GridView, Databound in asp.net and I want to use the HyperlinkField to open up the document displayed on the grid with the appropriate application example, Picture with .jpg, word document with .doc and lots more, Here is My Query string:
SelectCommand="SELECT archive, EmpDocId, EmpDocFileName, archive + EmpDocFileName AS FilePath FROM EmpDocuments
And My HyperlinkField:
<asp:HyperLinkField DataNavigateUrlFields="FIlePath" DataNavigateUrlFormatString="{0}" DataTextField="FilePath" />
But it is not Working its giving me the error:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.