Yuri Belenky
2/16/2004 2:35:00 PM
You could choose the following way:
At the ASPX page
<%if (EditBoxRequired()){%>
<asp:TextBox id="TextBox1" style="Z-INDEX: 101; LEFT: 544px; POSITION:
absolute; TOP: 136px"
runat="server"></asp:TextBox>
<%}%>
And EditBoxRequired() function at the code behind. You could check you
database in this function and check do you need this editbox. Do not miss
that this function should be marked public
"Annick Van Hoof" <me@here.nospam> wrote in message
news:ukv6RKI9DHA.2676@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I would like to make an ASP.NET page that dynamically obtains information
> form a database and creates an input screen on the fly. This would mean I
> would need a way to create ASP.NET webcontrols on the fly.
>
> Could this be done ? If so, how ? Has anyone an example to do this ?
>
> Thanks in advance,
>
> Annick
>
>