Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7523299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:45:39+00:00 2026-05-30T02:45:39+00:00

Background: I am writing a C# form program with MSVS 2010. The form has

  • 0

Background:

I am writing a C# form program with MSVS 2010. The form has 2 textboxes: textBox1 (input, single line) and textBox2 (output, multiple lines).

I want to enter a string in textBox1 and when a condition is met it prints some text to textBox2. I want to be able to enter multiple inputs and print output to textBox2 and not erase the previous output.

Questions:

  1. My question is can this be done?
  2. If not can you use multiple text boxes and move the output to the next higher value text box?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T02:45:41+00:00Added an answer on May 30, 2026 at 2:45 am

    All you need to do is keep appending to the text property.

    string output = "Hi!";
    outputBox.Text += output + Environment.NewLine;
    

    This is, of course, after you’ve given your textbox a more meaningful name than textBox2

    Bonus: You can also prepend to the text if you prever new output to appear at the top:

    outputBox.Text = output + Environment.NewLine + outputBox.Text;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a program in Visual C# 2010 that has several icons on
Background: I am writing a C++ program working with large amounts of geodata, and
Background I am writing a program that targets several different phones, including the iPhone.
Background In a C# command-line app I'm writing, several of the parameters have yes
I am writing a program that manages a bunch of timers. The user has
I have a form with black background, with 9 picture boxes. When the program
Background I'm writing an part of my app that has no UI. It sits
BACKGROUND I'm writing a method that will (eventually) take as input a System.Data.DataTable and
Background: I've been tasked with writing a data collection program for a Unitech HT630
As a newbie to Python, and mainly having a background of writing scripts for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.