html - How to add captions to textbox in asp.net? -


I was told that you should have captions in the input field in html. How can I do this in ASP.NET?

What do you mean?

  & lt; ASP: Label Runat = "Server" Associated ControlIDI = "Text Conceded" Text = "Caption" />   

Example

  & lt; Asp: label runat = "server" AssociatedControlID = "tbNum1" text = "Num1:" /> & Lt; ASP: Text Box Runat = "Server" ID = "TBNum1" />    

Comments