Hi,
I'm not sure if I should be posting this here or in the ASP.net forum.
What I would like to do is dynamically generate a number textboxes depending on the number selected from a radioButton list. i.e. if the radio button for '4' was selected then 4 textboxes would be generated.
I have a FOR loop, but I don't really know how to do the textboxes, do I declare them as textboxes or objects?
The FOR loop is as follows:
Dim i As Integer
Dim LettersFound As TextBox
Dim dsLetFound As DataSet
For i = 0 To "No_Letters"
LetFoundTable.LettersFound()
Response.Write(LettersFound)
Next
I think that I might have gotten a little confused, but I'm not sure about how to return them.
"No_Letters" is the name of the RadioButtonList.
LetFoundTable is the table that the textbox is in.
Hope that I've been making sense, any questions please ask!
Thanks in advance, any help is greatly appreciated
Jane
I'm not sure if I should be posting this here or in the ASP.net forum.
What I would like to do is dynamically generate a number textboxes depending on the number selected from a radioButton list. i.e. if the radio button for '4' was selected then 4 textboxes would be generated.
I have a FOR loop, but I don't really know how to do the textboxes, do I declare them as textboxes or objects?
The FOR loop is as follows:
Dim i As Integer
Dim LettersFound As TextBox
Dim dsLetFound As DataSet
For i = 0 To "No_Letters"
LetFoundTable.LettersFound()
Response.Write(LettersFound)
Next
I think that I might have gotten a little confused, but I'm not sure about how to return them.
"No_Letters" is the name of the RadioButtonList.
LetFoundTable is the table that the textbox is in.
Hope that I've been making sense, any questions please ask!
Thanks in advance, any help is greatly appreciated
Jane