I have five text boxes. In the first text boxes I put the user first and last name. In the second is the address and in the third is the city and in the fourth is the state and in the last one is the zip. I would like to know how to copy the information in the text boxes and put on another record with the same information.
copying the text in different textboxes
Collapse
X
-
Tags: None
-
How do I do that? Will something like this work for visual basic.net
String Temp = PayeeAddress.Te xt
PayeeAddress.Pa ste()Comment
-
string Temp = PayeeAdress.Tex t
That's it. Temp now contains a copy of whatever text was in your PayeeAdress textbox.
You can do with it what you like. Write it to a file. Put it in another textbox. Send it to a database.
SecondTextBox.T ext = TempComment
-
enliven60411, what do you mean when you say:
You copy the information in the TextBoxes by accessing their Text property as Tlhintoq has suggested.....I would like to know how to copy the information in the text boxes and put on another record with the same information.
I have no idea what you mean about "put on another record with the same information".
Could you explain in more detail so that we can help you better?
-FrinnyComment
Comment