Net-informations.com
SiteMap  | About    

LinkButton Control

LinkButton displays a hyperlink-style button control on a Web page.By default, a LinkButton control is a Submit button. You can also use the CommandArgument property with a Command button to provide additional information about the command to perform, such as specifying ascending order.

linkbutton-control

Default.aspx

  

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>Untitled Page</title>
</head>
<body>
	<form id="form1" runat="server">
	<div>
		<asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">VB.NET</asp:LinkButton><br />
		<asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">C#</asp:LinkButton><br />
		<asp:Label ID="Label1" runat="server" Text="Label1"></asp:Label>
	</div>
	</form>
</body>
</html>


Click the following links to see full source code

C# Source Code
VB.NET Source Code
default.aspx.cs
default.aspx.vb





net-informations.com (C) 2017    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.