Do you really need a Text attribute in an ASP.NET Label?
<p>What is the difference between the following?    </p>

<pre><code>&lt;asp:Label runat="server"&gt;Hello World&lt;/asp:Label&gt;

&lt;asp:Label runat="server" Text="Hello World"&gt;&lt;/asp:Label&gt;
</code></pre>

<p><hr /></p>

<p><strong>UPDATED:</strong></p>

<p>If they are exactly the same then why does</p>

<pre><code>&lt;asp:Label ID="Label1" runat="server"&gt;
There were &lt;%#transactionCount%&gt; transactions today
&lt;/asp:Label&gt;
</code></pre>

<p>bind correctly when using single-value databinding and displays the correct value for transactionCount, while...</p>

<pre><code>&lt;asp:Label ID="Label1" runat="server" Text="There were &lt;%#transactionCount%&gt; transactions today"&gt;
&lt;/asp:Label&gt;
</code></pre>

<p>does not show a value for transactionCount in the page?</p>

<p><hr /></p>

<p><strong>UPDATED AGAIN:</strong></p>

<p>I understand the points being made about using the Literal controls. I shall slap my face accordingly - but it still doesn't solve the problem - though is perhaps getting closer to a solution.</p>

<p>If I use... </p>

<pre><code>&lt;asp:Literal ID="Label1" runat="server" Text="&lt;%#transactionCount%&gt;"&gt;&lt;/asp:Literal&gt;
</code></pre>

<p>...I see transactionCount's value show up in the web page.</p>

<p>On the other hand, if I put any character or word in front of the single-value databinding field e.g. </p>

<pre><code>&lt;asp:Literal ID="Label1" runat="server" Text="No. &lt;%#transactionCount%&gt;"&gt;&lt;/asp:Literal&gt;
</code></pre>

<p>...transactionCount does not appear.</p>
