dynamic textbox
-
greetings again to you all, guyz, again i need your help very very badly. im successfull in creating textbox dynamically in the runtime.. but my problem now is how to get the data from the dynamic textbox... code: creating textbox in runtime While rd.Read text = New TextBox stForm.Controls.Add(text) text.Visible = True text.Name = "text" & CStr(xCnt) text.Location = New Point(122 + (3 * xPnt), 135) text.Size = New Size(60, 21) text.MaxLength = rd.Item(0) xCnt += 1 xPnt += 22 End While after the code above it will display a number of textbox in the form, next is i will input some data in the displayed textbox.... my problem is How to get the data from the display textbox which was done at runtime?..... your help is higly appreciated... links/codes is highly appreciated.. :-D
start a new beginning in every ending; thats what life for......
-
greetings again to you all, guyz, again i need your help very very badly. im successfull in creating textbox dynamically in the runtime.. but my problem now is how to get the data from the dynamic textbox... code: creating textbox in runtime While rd.Read text = New TextBox stForm.Controls.Add(text) text.Visible = True text.Name = "text" & CStr(xCnt) text.Location = New Point(122 + (3 * xPnt), 135) text.Size = New Size(60, 21) text.MaxLength = rd.Item(0) xCnt += 1 xPnt += 22 End While after the code above it will display a number of textbox in the form, next is i will input some data in the displayed textbox.... my problem is How to get the data from the display textbox which was done at runtime?..... your help is higly appreciated... links/codes is highly appreciated.. :-D
start a new beginning in every ending; thats what life for......
may be you can access these textboxes like normal textboxes the only difference between the two is that one is putted at designtime and another at runtime
Paras Kaneriya
The difference between genius and stupidity is that genius has its limits. -
may be you can access these textboxes like normal textboxes the only difference between the two is that one is putted at designtime and another at runtime
Paras Kaneriya
The difference between genius and stupidity is that genius has its limits.tnx for the idea.. i already got the answer.... thank you... your help is very much appreciated...
start a new beginning in every ending; thats what life for......
-
greetings again to you all, guyz, again i need your help very very badly. im successfull in creating textbox dynamically in the runtime.. but my problem now is how to get the data from the dynamic textbox... code: creating textbox in runtime While rd.Read text = New TextBox stForm.Controls.Add(text) text.Visible = True text.Name = "text" & CStr(xCnt) text.Location = New Point(122 + (3 * xPnt), 135) text.Size = New Size(60, 21) text.MaxLength = rd.Item(0) xCnt += 1 xPnt += 22 End While after the code above it will display a number of textbox in the form, next is i will input some data in the displayed textbox.... my problem is How to get the data from the display textbox which was done at runtime?..... your help is higly appreciated... links/codes is highly appreciated.. :-D
start a new beginning in every ending; thats what life for......