Which one to use
<label>Name</label>
<asp:Label Text="Name" runat="server"></asp:Label>
Genreally we are using label to show some text only(like not to many business logic on lables).
As a perfomance point of view which one to use.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There would be very little to gain in performance between the two options. This is a micro-optimization.
But to answer the question – the straight markup would perform better, as there is no need to deserialize the control and operate on it server side.
In general, if you use a server side control, the server will need to do more work than with plain markup.