C# Label Control
Use Of C# Label Control :
Label Controls are Used to Display Text and cannot be modify by the user. They are used to identify objects on a form.
Important Property Set Of Label Control From Property Window :
Text : Represent String, That String Display With Label Control.
Code To Merge Label Control Text With Textbox Text When User Click On Button
private void button1_Click(object sender, EventArgs e)
{
label2.Text = label2.Text + textBox1.Text;
}
Output :
No comments:
Post a Comment