Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

VS 2010 textbox next line

$
0
0
if textbox1.text = cd then
form2.TextBox1.Text = ("samp")
end if

if textbox1.text = m then
form2.textbox1.text = ("day")

i know how theyve transfer to form 2 but
how can i merge them both inside on the textbox in form2

---------------
ive found this on the net but this is different, this doesnt store the texts that i input on textbox1 in form1

Dim Newline As String = System.Environment.NewLine
TextBox1.Text = "This is a test"
TextBox1.Text += Newline + "This is another test"

---------------

Viewing all articles
Browse latest Browse all 27329

Trending Articles