S
sdfarmer
The simple sample only assign Info to be "Tst 1",the 2nd assignment
statement make no sense. Why? If in the case that we have to manipulate
a Web Control only after it(such as at the end of the whole page for
waiting a loop to accumulate the listing files's total size),how can we
do?
<%@ Page Language="C#" %>
<HTML>
<BODY>
<form runat="server">
<%
Info.Text="Tst 1";
%>
<asp:Label id="Info" runat="server" />
<%
Info.Text="Tst 2";
%>
</form>
</BODY></HTML>
statement make no sense. Why? If in the case that we have to manipulate
a Web Control only after it(such as at the end of the whole page for
waiting a loop to accumulate the listing files's total size),how can we
do?
<%@ Page Language="C#" %>
<HTML>
<BODY>
<form runat="server">
<%
Info.Text="Tst 1";
%>
<asp:Label id="Info" runat="server" />
<%
Info.Text="Tst 2";
%>
</form>
</BODY></HTML>