Search Your Dot Net Topic

Thursday, 29 April 2021

hyperlink button in asp.net | hyperlink button example | asp.net hyperli...



Code: HyperLink.aspx

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:HyperLink ID="hylnkMyBlog" runat="server" NavigateUrl="https://dotnettutorinmumbai.blogspot.com/">My Training Blog</asp:HyperLink>
        <a href="https://dotnettutorinmumbai.blogspot.com/">My Training Blog</a>
    </div>
    </form>
</body>
</html>





Code: Hyperlink.aspx.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;


public partial class hyperlink : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}

No comments:

Post a Comment