Fields go missing
-
Hi, I am in a spot on concern because I am stuck and do not know what to. All my processing happens on one page. My page has a file upload control, with an upload button. When the upload button is clicked, it loads the file's contents into a dataset. It loops through the column names of the dataset and populates it to a textbox dynamically. Here the values can me altered and mapped to a database field. When I click the Import button, all the textboxes created are all gone. I do not know how to keep the textboxes there once the Import button is clicked because I need the values in the textbox. Please can some one help me. Regards ma se
-
Hi, I am in a spot on concern because I am stuck and do not know what to. All my processing happens on one page. My page has a file upload control, with an upload button. When the upload button is clicked, it loads the file's contents into a dataset. It loops through the column names of the dataset and populates it to a textbox dynamically. Here the values can me altered and mapped to a database field. When I click the Import button, all the textboxes created are all gone. I do not know how to keep the textboxes there once the Import button is clicked because I need the values in the textbox. Please can some one help me. Regards ma se
I take it you're using a control array of text boxes. Perhaps they're not missing. Do something like this to show your textboxes i=1 'set in form load ...button click load text1(i) 'assuming you've set index to zero of the first textbox text1(i).top = text1(i - 1).top + text1(i - 1).height 'set new box pos just below previous textbox text1(i).visible = true 'show it ... i=i+1'get ready for next click -- modified at 21:43 Sunday 1st July, 2007
-
I take it you're using a control array of text boxes. Perhaps they're not missing. Do something like this to show your textboxes i=1 'set in form load ...button click load text1(i) 'assuming you've set index to zero of the first textbox text1(i).top = text1(i - 1).top + text1(i - 1).height 'set new box pos just below previous textbox text1(i).visible = true 'show it ... i=i+1'get ready for next click -- modified at 21:43 Sunday 1st July, 2007
Please check: http://www.brendanvogt.com/SD\_ImportExport3.jpg When I click the Perform Import button then it all disappears. The drop down were created dynamically when I did a file upload. PS: It wasn't textboxes, but drop downs. ma se
-
Please check: http://www.brendanvogt.com/SD\_ImportExport3.jpg When I click the Perform Import button then it all disappears. The drop down were created dynamically when I did a file upload. PS: It wasn't textboxes, but drop downs. ma se