Hi,
Just starting to move from 'classic' ASP to .NET and have a question ( actually many, but this one is hard to find an answer to in the various .NET sample sites)..
I would like to populate several <asp
ropDownList
objects but I will not know how many I need until run-time..
Is there a way to dynamically create these so that the ID is unique and therefore I can populate them with a set of databind statements? ( I Can set up the values needed
as ArrayLists but , since I cannot seem to assign the ID to the DropDownlist in code, I can't do anything with those values)
In our .asp versions, we use Response.Write statements to dynamically build <SELECT and < OPTION statements and concatenate the name for the <Select as needed - I am trying to avoid using this method, if possible,in our .NET
stuff..
![[profile] [profile] [profile]](/data/assets/smilies/profile.gif)
To Paraphrase:"The Help you get is proportional to the Help you give.."
Just starting to move from 'classic' ASP to .NET and have a question ( actually many, but this one is hard to find an answer to in the various .NET sample sites)..
I would like to populate several <asp
objects but I will not know how many I need until run-time..
Is there a way to dynamically create these so that the ID is unique and therefore I can populate them with a set of databind statements? ( I Can set up the values needed
as ArrayLists but , since I cannot seem to assign the ID to the DropDownlist in code, I can't do anything with those values)
In our .asp versions, we use Response.Write statements to dynamically build <SELECT and < OPTION statements and concatenate the name for the <Select as needed - I am trying to avoid using this method, if possible,in our .NET
stuff..
![[profile] [profile] [profile]](/data/assets/smilies/profile.gif)
To Paraphrase:"The Help you get is proportional to the Help you give.."