let say i have the following link stackoverflow.comstored in db.

When i click the link from grid-view it redirect me to below path

http://localhost:30987/Main/stackoverflow.com

How can i solve this issue ?

<asp:TemplateField HeaderText="Website" SortExpression="Website">
    <ItemTemplate>
        <asp:HyperLink ID="HyperLink1" Target="_blank" Text='<%# Bind("Websitelink") %>' NavigateUrl='<%# Bind("Websitelink") %>' runat="server"></asp:HyperLink>
    </ItemTemplate>
</asp:TemplateField>

Related posts

Recent Viewed