You completly three solution to your problem:
You can either use the following template feild with hyperlink feild in it.
<asp:TemplateField>
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl ='<%# Bind("EmpCode") %>'>GoTo Next Page</asp:HyperLink>
</ItemTemplate>
Or You can HyperLinkField of gridview
</asp:TemplateField>
<asp:HyperLinkField DataNavigateUrlFields="Url link database"
DataTextField="Url Title Feid in database" />
<asp:ButtonField ButtonType ="Link" CommandName ="NaviagetonextPage" />
or you can button field of grid view with on row command event:
<asp:ButtonField ButtonType ="Link" CommandName ="NaviagetonextPage" />
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "NaviagetonextPage")
{
NaviagetonextPage();
}
}
public void NaviagetonextPage()
{
}