I'm new to this forum and the asp.net enviroment...so execuse the nub questions.........Heres my question....I am creating a form where you input various information...on one part you input your personal information (first name , last name , etc ) ...with an add button ...I'm trying to get the information to display in a textarea(html control) when you click add. Every time you click add it jumps to the next line in the textarea and print the new information......I'm not sure if textarea is the bext tool to use.....and i can't seem to get anything displayed in the text area any help is greatly appreciated....So, you have a bunch of text boxes for collecting user information, a button, and a multiline text box?
Do you have any plans to persist the data, like in session state or a database? Or you just want to concatenate all of the fields into one string with each field taking up one line -- and you want that string inserted into a multiline textbox upon pressing the button on your page?
Correct, I have multiply text box for user to enter information and and multiply buttons for add, delete, search etc...I am also going to stored the information in a sql database.....I am trying to set up a multiline text box to display the information that was entered so the user can see what they have entered ...i am trying to use the html text area to display the information but i am having trouble with using the text area....is there a better type of multiline text box i can use other than a text area?
can anyone help?
I think it is a wise idea to take a look at the possible solution to use a datagrid. It is a little bit more work. But it looks better and is in the long run easier to maintain (if your design is right)
This is totaly depending what are you gone use it for.
Hello,
Why not using text box server control?
Textbox1.text &= txtfirstname.text & " " & txtlastname.text
is that what you need?
HTH
regards
thanks for all the help.....i decided to use the a data grid......the textbox idea was great but i need it to display the user information in seperate lines.........again thanks for the help..
hello
I'm back again...well i was using the dataview for displaying user input.....the new problem is that i need a text area or what ever is better to display user information with out saving it to the database ......theres other information that needs to be completed before it can be saved to the database............the layout --> the page is in 2 parts -- part 1 is user infor, part 2 is a survey information, all information is added to the DB at the end of the form ....I am trying to set up a textarea so that when the user click add at part 1 he can see the names that is going to be added to the db if he made a mistake he can delete it......after user infor is added the user then proceed to part 2 of the form after he completes the form he can add all info to the DB... any help willl be greatly appreciated
is there a way i can bind textbox to the dataview colums...
My new solution is to us a textbox and set the multi line option on ..here is an example of my new problem --> ex: i have created 3 text box , 1 being the text box with multiline to act as a text area. I also added an submit button so user can click the button and display what they have inputed into the other 2 text box...my problem is how can i get the text area to go to the next line every time a user click submit.....ex: textbox 1 =id lastname ; textboxt 2 = id fisrtname ; textbox 3 =id text area.....and button id = submit...any help is greatly appreiciated
0 comments:
Post a Comment