
By specifying a meaningful ID to controls, it becomes easier to access them during the coding phase. Similarly, also change the ID property value of the control to lblName. Step 3) From the properties window, change the name of the Text property to Name

We will use a label called ‘name.’ This will be used in conjunction with the textbox controls, which will be added in the later section. Let’s see how we can implement this with an example shown below. The label gives an indication to the user on what is expected to fill up in the textbox.

Common examples is wherein a label is added along with the textbox control. The label control is normally used along with other controls. The label control is used to display a text or a message to the user on the form. Now let’s start adding our controls one by one Label Control Once you perform the above step, you will be able to see your Form Designer as shown below.

Step 1) The first step is to open the Forms Designer for the Demo web form. Let’s add them to build the form with the above-mentioned functionality. There will be choices for both C# and ASP.Net

ASP.Net has the ability to add controls to a form such as textboxes and labels.
