Ho provato a fare quello che volevi tu, così sembra funzionare.
Ciao


Marco


codice:
 
<%@ Page Language="VB"%>
<script runat="server">
sub Page_load
Dim txtBox As TextBox 
txtBox = New TextBox() 
txtBox.text = "txtProva" 
PlaceHolder1.Controls.Add(txtBox) 
end sub
</script>
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<form runat="server">
<asp:PlaceHolder id="PlaceHolder1" runat="server"/>
</form>
</body>
</html>