Saturday, 28 January 2012

How to combine two names in vb.net?


How to combine two names in vb.net?
In this tutorial you can make text as lower case and upper case
Step1:
Open Microsoft visual studio
Step2:
Select file new à windows form application à rename it as combine text
Step3:
Drag and drop the
Three text box
Three labels change the label properties, and form properties
One button
Step4:
Write the below code in program window
 Public Class Form1
    Private SubButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesButton1.Click
        TextBox3.Text = TextBox1.Text & " " & TextBox2.Text
        TextBox4.Text = TextBox3.Text.ToUpper
        TextBox5.Text = TextBox3.Text.ToLower
    End Sub
End Class

Output: