title: How to add hyperlink to boundfield in gridview c# asp.net
body: <p>I have a gridview in aspx page, I need it to go add hyperlink to the Component from BoundField once the user clicks on the Component1  value.  How can I add the hyperlink to boundfield that's related to BoundField?</p>
  
  <pre><code>&lt;asp:GridView ID="Module" runat="server" AutoGenerateColumns="False" BackColor="White"
          BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4"
          DataSourceID="dsrcGetModuleData" Font-Size="0.65em" ForeColor="Black" GridLines="Vertical" DataKeyNames="TestID"&gt;
          &lt;FooterStyle BackColor="#CCCC99" /&gt;
          &lt;Columns&gt;
  
  &lt;asp:BoundField DataField="Component1"  ItemStyle-Font-Size="Small" HeaderStyle-Width="80px"  HeaderStyle-Font-Size ="Medium" SortExpression="Component1"   /&gt; 
  
  &lt;/Columns&gt;
          &lt;RowStyle BackColor="#F7F7DE" /&gt;
          &lt;SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" /&gt;
          &lt;PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right"  /&gt;
          &lt;HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" /&gt;
          &lt;AlternatingRowStyle BackColor="White"  /&gt;
      &lt;/asp:GridView&gt;
  </code></pre>