Convert Console.WriteLine into text box
<p>I checked on the net and I didn't find concrete examples for my situation... </p>

<p>What I want, is to have these Console.WriteLine displayed in a text box .  </p>

<pre><code>    // Show data before change
 Console.WriteLine("name before change: {0}", 
 thisDataSet.Tables["Customers"].Rows[9]["CompanyName"]);

 // Change data in Customers table, row 9, CompanyName column
 thisDataSet.Tables["Customers"].Rows[9]["CompanyName"] = "Acme, Inc.";

 // Call Update command to mark change in table
 thisAdapter.Update(thisDataSet, "Customers");

 Console.WriteLine("name after change: {0}",
 thisDataSet.Tables["Customers"].Rows[9]["CompanyName"]); 
</code></pre>

<p>I tried this;</p>

<pre><code>         string1=("name before change: {0}",
         thisDataSet.Tables["Customers"].Rows[9]["CompanyName"]);


        thisDataSet.Tables["Customers"].Rows[9]["CompanyName"] = "Acme, Inc.";
         thisAdapter.Update(thisDataSet, "Customers");

        string2=("name after change: {0}",
        thisDataSet.Tables["Customers"].Rows[9]["CompanyName"].ToString());
        thisConnection.Close();

        textBox1.Text = string1() + string2();
</code></pre>
