I am unsure of whether there is any benefit to coding one way versus another, so I thought this would be a good place to ask my question.
Is there any benefit or advantage to Method 1 vs. Method 2?
Method 1
Method 2
I know the purist tells me to use Method 1, but that's a lot more code to sort through than Method 2.
It would appear to me that all the <ASP:> tags are doing is getting interpreted by the server and that would lead me to believe there is more overhead involved with this method...
Thoughts, suggestions, preferences?
Thanks in Advance!!
Is there any benefit or advantage to Method 1 vs. Method 2?
Method 1
Code:
<asp:Label id="Label1" runat="Server>Some Text</asp:Label>
Method 2
Code:
Some Text
I know the purist tells me to use Method 1, but that's a lot more code to sort through than Method 2.
It would appear to me that all the <ASP:> tags are doing is getting interpreted by the server and that would lead me to believe there is more overhead involved with this method...
Thoughts, suggestions, preferences?
Thanks in Advance!!