Hello
I try to do a Dynamic TextBoxes - but it doesnt work :( .. here is my code:

if (ds.Tables[0].Rows.Count != 0)
                    {
                        foreach (DataRow row in ds.Tables[0].Rows)
                        { 
                        %>

                            <div class="LineA">
                                <input type="text" id="Item_<%= var %>" name="Item_<%= var %>" value="<%= var %>" />
                                <input type="text" id="Link_<%= var %>" name="Link_<%= var %>" value="<%= var %>" />
                                <input type="submit" value="[Edit]" onclick="window.location.href = "AdminPanel.aspx?EditLink=<%= var";" />
                                <a href="AdminPanel.aspx?DeleteLink=<%= var %>">[Delete]</a>
                            </div>

                        <%
                        }
                    }

thanks for your help... :)

i'm not sure i got the question right, but you can create an ASP Panel and add textbox to it from the codebehind.
hope i helped

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.