Articles Archive for March 2010
Asp.net »
–>
Changing Label Properties at run time
To change the properties of the label at run time we need a label whose properties we will change and an event on which we can see the changes that we have made are applied so to solve the purpose of an event I have taken a command button or button whose click event will work for as the triggering event.
A Design view is shown here.
There are three controls:
And following changes are made to their properties.
Label1
ID: lbl_Name
Backcolor: Aqua
BorderColor: #660066
BorderStyle: …
