<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Automatic generation of textboxes in vb.net' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Automatic generation of textboxes in vb.net' posted on the 'VB.NET' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 06:34:54 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 06:34:54 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Automatic generation of textboxes in vb.net</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408860/408860/automatic-generation-of-textboxes-in-vbnet/</link>
      <description>&amp;lt;script language="vb" runat="server"&amp;gt;&lt;br /&gt;
        Sub generate(ByVal s As Object, ByVal e As EventArgs)&lt;br /&gt;
            Dim i As Integer&lt;br /&gt;
            ' Dim numtexts As Integer&lt;br /&gt;
            For i = 1 To 10&lt;br /&gt;
                Dim t As New TextBox()&lt;br /&gt;
                t.Text = "TextBox" &amp;amp; i.ToString()&lt;br /&gt;
                t.ID = "TextBox" &amp;amp; i.ToString()&lt;br /&gt;
                Controls.Add(t)&lt;br /&gt;
               &lt;br /&gt;
            Next i&lt;br /&gt;
&lt;br /&gt;
        End Sub&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
error:Control 'TextBox1' of type 'TextBox' must be placed inside a form tag with runat=server. &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408860/408860/automatic-generation-of-textboxes-in-vbnet/</guid>
      <pubDate>Thu, 05 Nov 2009 00:40:23 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Automatic generation of textboxes in vb.net</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408860/409095/re-automatic-generation-of-textboxes-in-vbnet/#409095</link>
      <description>This looks more like an ASP.Net Question to me.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.asp.net/Learn/ajax-videos/video-286.aspx"&gt;http://www.asp.net/Learn/ajax-videos/video-286.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Heres a great tutorial video where a guy explains it... you can also trying googling this:&lt;br /&gt;
"How to dynamically add TextBoxes to my ASP.Net Form"&lt;br /&gt;
or&lt;br /&gt;
"Dynamically add textbox asp.net vb.net"&lt;br /&gt;
or&lt;br /&gt;
"add textbox dynamic asp.net tutorial"&lt;br /&gt;
&lt;br /&gt;
I am guessing that Controls.Add is not the method you want to use to add this textbox. You should probably be doing Form1.add() or something like that,&lt;br /&gt;
Good Luck&lt;br /&gt;
seanCampbell</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408860/409095/re-automatic-generation-of-textboxes-in-vbnet/#409095</guid>
      <pubDate>Wed, 11 Nov 2009 07:42:23 -0700</pubDate>
      <category>VB.NET</category>
    </item>
  </channel>
</rss>
