This is the standard format.
<asp:LinkButton id="LinkButton1"
Text="label"
Command="Command"
CommandArgument="CommandArgument"
CausesValidation="true | false"
OnClick="OnClickMethod"
runat="server"/>
Being you said dynamically,
dim lnkbtn as new linkbutton
lnkbtn.command = command 'set the command
lnkbtn. [what ever you want to add goes here]
controls.add(lnkbtn) 'to add to the page
Check this link out...
http://msdn.microsoft.com/library/de...webcontrol.asp