Click here to Skip to main content
13,347,168 members (50,974 online)
Rate this:
Please Sign up or sign in to vote.
See more:
how can write code to write data to a text-box in window-form apps and and how can i copy the same data to other text box in the same program.??
Posted 14-Jan-13 19:44pm
This is just the abuse. What, do you think asking such question is better then just read about the basics? Think again.
No, this is not OK. Not only you demonstrate extreme laziness, saying such things is extremely rude.
Richard MacCutchan 15-Jan-13 4:15am
This is the third time you have asked this question. Go and make an effort to try some of the suggestions you have been given. You would do well to start by reading the documentation for TextBoxes.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

textbox1.text = "abc"; //write data in textbox else runtime you can write data in textbox using keyboard

to copy textbox1 value in textbox2...
in textbox1's textchanged event...
textbox2.text = textbox1.text;

Happy Coding!
pajju1992 15-Jan-13 1:13am
Thank you....:)
Aarti Meswania 15-Jan-13 1:14am
Welcome! :)
Glad to help you! :)
pajju1992 15-Jan-13 1:25am
madam can i use the same technique to write the data to CD ROM....???
Aarti Meswania 15-Jan-13 1:34am
you should ask to write data in a file which is in cd ok?
to write data of textbox to a file...
you can do this using stream writer class

you will need path for file it doesn't matter it's in cd, but make sure cd is re-writable.

You should post this question as a new question

prajwal rao 15-Jan-13 1:38am
OK thanks allot. sorry....:( am new for this site.... so i don't know any rules......:( very sorry for that....
Are you serious?
prajwal rao 15-Jan-13 2:04am
What ???
Aarti Meswania 15-Jan-13 2:09am
hello sir,
I didn't get what you mean to say?
This is written to prajwal rao, about the abusive behavior, apparently in vain... maybe this is a time to ban this account...
Aarti Meswania 15-Jan-13 2:22am
I read his questions, strange! he had ask it so many times
I wasn't know before this is a reposted question

hope OP understands this
anyways sir,
have a nice time! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180111.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100