HighTechTalks DotNet Forums  

control with changing name?

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss control with changing name? in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Beatrix
 
Posts: n/a

Default control with changing name? - 11-19-2007 , 10:24 AM






Hi,

My idea is that I want to draw more textboxes runtime, with a "for".

Like
for (i=0; i< sg;i++)
{
TextBox something+i = new TextBox; //meaning something1
}
when i is always added to the previous, and gives multiple textboxes.

I need this because I have to draw multiple textboxes, and check the answers.
Now I start to understand, if I dont assign the name for all textboxes I
will not be able to return their values. Then is there a better option?

Thank you,



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.