Hello there, in this article i will create LinkButton Control Dynamically using VB and you can refer my Article in which i have used C# language.
http://howtouseasp.net/how-to-create-linkbutton-dynamically-asp-net-c/
Create a page and name it lnkBtnVb and copy paste below the Source Code in it.
<%@ Page Language=”VB” AutoEventWireup=”false” CodeFile=”lnkBtnVb.aspx.vb” Inherits=”lnkBtnVb” %>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head runat=”server”>
<title></title>
</head>
<body>
<form id=”form1″ runat=”server”>
<div>
<asp:Label ID=”Label1″ runat=”server” Text=”Label”></asp:Label>
<br /><br /><br /><br />
<asp:PlaceHolder ID=”PlaceHolder1″ runat=”server”></asp:PlaceHolder>
</div>
</form>
</body>
</html>







Recent Comments