<p>How can I use Hyperlink button in gridview. I mean when I run my program,all data is displayed in gridview,but I want hyperlink in gridview, so that when I will click in hyperlink it will show the select path which is in gridview : if there is pdf file path and I just click on this hyper link then I can see the pdf file.</p>

<p>Can you tell me how can I do this? </p>

You need to use a template field. e.g. lets say you're column is called 'PdfUrl'
Then add a column to your datagrid. that looks like
```
```
<asp:TemplateField HeaderText="Link" SortExpression="PdfUrl">
    <itemtemplate>
        <asp:HyperLink runat="server" ID="hlkPDF" NavigateURL='<%# DataBinder.Eval(Container.DataItem, "PdfUrl") %>' />
    </itemtemplate>
</asp:TemplateField>
```
```